Created
December 30, 2017 15:42
-
-
Save Majirefy/b50e1e817429119dfc7cd196542dd20f to your computer and use it in GitHub Desktop.
Change page padding.
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
protected override void OnAppearing() | |
{ | |
base.OnAppearing(); | |
var safeInsets = On<Xamarin.Forms.PlatformConfiguration.iOS>().SafeAreaInsets(); | |
safeInsets.Left = 24; | |
this.Padding = safeInsets; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment