Last active
November 8, 2017 10:50
-
-
Save wsrzx/22aeff17283e329babe69c6d20b55776 to your computer and use it in GitHub Desktop.
Novidades do iOS e Xamarin.Forms
This file contains hidden or 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; | |
using Xamarin.Forms.PlatformConfiguration.iOSSpecific; | |
namespace iOSEleven | |
{ | |
public partial class MyLargeTitlePage : ContentPage | |
{ | |
public MyLargeTitlePage() | |
{ | |
InitializeComponent(); | |
On<Xamarin.Forms.PlatformConfiguration.iOS>().SetLargeTitleDisplay(LargeTitleDisplayMode.Automatic); | |
} | |
} | |
} |
This file contains hidden or 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; | |
using Xamarin.Forms.PlatformConfiguration.iOSSpecific; | |
namespace iOSEleven | |
{ | |
public partial class MyUseSafeAreaPage : ContentPage | |
{ | |
public MyUseSafeAreaPage() | |
{ | |
InitializeComponent(); | |
On<Xamarin.Forms.PlatformConfiguration.iOS>().SetUseSafeArea(true); | |
} | |
} | |
} |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:ios="clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core" | |
ios:Page.UseSafeArea="true" > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment