Created
December 30, 2017 15:29
-
-
Save Majirefy/e6501ca48b03d685df503684b9737ba5 to your computer and use it in GitHub Desktop.
Update Xamarin.Forms to support iOS 11.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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