Skip to content

Instantly share code, notes, and snippets.

@Majirefy
Created December 30, 2017 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Majirefy/e6501ca48b03d685df503684b9737ba5 to your computer and use it in GitHub Desktop.
Save Majirefy/e6501ca48b03d685df503684b9737ba5 to your computer and use it in GitHub Desktop.
Update Xamarin.Forms to support iOS 11.
using Xamarin.Forms.PlatformConfiguration.iOSSpecific;
using Xamarin.Forms;
namespace iPhoneX
{
public partial class ItemsPage : ContentPage
{
public ItemsPage()
{
InitializeComponent();
On<Xamarin.Forms.PlatformConfiguration.iOS>().SetUseSafeArea(true);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment