Skip to content

Instantly share code, notes, and snippets.

@jfversluis
Created March 14, 2018 10:42
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 jfversluis/d5f65b9f93ff48939a09c6f647ff4102 to your computer and use it in GitHub Desktop.
Save jfversluis/d5f65b9f93ff48939a09c6f647ff4102 to your computer and use it in GitHub Desktop.
Styling the page title on iOS
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