Discussion Forums  >  Uncategorized

Replies: 1    Views: 272

LionArch007
Aspiring developer
Profile
Posts: 9
Reg: Jan 30, 2011
ABQ, NM
90
04/25/11 02:23 PM (14 years ago)

Changing color of font in Nav Bar

It would be cool to be able to change the color of the font in the Nav Bar. My app's icon is blue with red lettering so if I were able to carry that branding over to the look of the app's screens it would be awesome. Just an idea.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/25/11 11:55 PM (14 years ago)
Hi in NM: This is mentioned from time-to-time and it does make sense on some levels. However, Apple is very very difficult when it comes to font-color in title bars. They almost always reject apps that use a non-standard font color in the title bar. To do what you are talking about, Apple suggests using an image, not text. v1.5 does not yet support images in the nav-bar but will soon. In the meantime, you could customize the navigation bar with a bit of experiementing. Hint: Have a look the BT_Layout / BT_viewUtilities.m file and find the configureBackgroundAndNavBar method. Every single navigation bar in the entire app (assuming v1.5 here) is created using this method. This means you could do a little Googling to figure out how to add an image to this the title bar in this method and it would appear in all your screens. Hope this helps.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.