Setting UINavigationBar Font

BlakeDavidsonBlakeDavidson USMember ✭✭

Is there a way to set the UINavigationBar Font. Here's what I tried in the AppDelegate, but it doesn't seem to work...

        var attr = UINavigationBar.Appearance.GetTitleTextAttributes();
        attr.Font = UIFont.FromName("fooFont", 25f);
        UINavigationBar.Appearance.SetTitleTextAttributes(attr);

I appreciate the feedback!

Best Answers

Answers

  • SatrackS.A.SSatrackS.A.S COMember

    Excellent Solution

  • EasyGoingPatEasyGoingPat GBMember ✭✭✭

    @BlakeD, @John,

    The code above changes the title in the navigation bar. Do you know if there is a way to change the font used on the actual navigation links?

    Kind wishes ~ Patrick

Sign In or Register to comment.