Created
March 14, 2018 10:42
-
-
Save jfversluis/d5f65b9f93ff48939a09c6f647ff4102 to your computer and use it in GitHub Desktop.
Styling the page title on iOS
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
public override bool FinishedLaunching(UIApplication app, NSDictionary options) | |
{ | |
global::Xamarin.Forms.Forms.Init(); | |
UINavigationBar.Appearance.SetTitleTextAttributes(new UITextAttributes | |
{ | |
TextColor = UIColor.Black, | |
Font = UIFont.FromName("ComicSansMS", 24) | |
}); | |
LoadApplication(new App()); | |
return base.FinishedLaunching(app, options); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment