Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 11    Views: 89

MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
09/18/14 11:32 AM (9 years ago)

Nav Bar Font Color

OMG.... How can I change the Nav Bar Font color? Thanks Miguel
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
09/18/14 11:48 AM (9 years ago)
I'm not telling you because your not coming to oxford
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
09/18/14 11:52 AM (9 years ago)
thats the best answer.... Your replies are starting to be better than MacApple's.... Super cool
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
09/18/14 11:52 AM (9 years ago)
Only messing you know I love you. Appdelegate line 91 - 94 if(floor(NSFoundationVersionNumber) > NSFoundationVersionNumber_iOS_6_1){ [self setNavBarTitleTextColor:@"#000000"]; }else{ [self setNavBarTitleTextColor:@"#FFFFFF"]; } change the hex values over
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
09/18/14 11:53 AM (9 years ago)
Hi praise, but please don't affiliate me with that treasonous Scotsman.
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
09/18/14 11:56 AM (9 years ago)
I know you do... But I did love the reply.... Couldn't/shouldn't this be an option in the CP?
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
09/18/14 11:59 AM (9 years ago)
It isn't an option in the control panel. It could be added anything can, submit a feature request.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
09/18/14 12:10 PM (9 years ago)
Here's a cheeky work around though. Go to BT_viewController.m search for [appDelegate navBarTitleTextColor] and replace with this [BT_strings getStyleValueForScreen:self.screenData nameOfProperty:@"backgroundColor" defaultValue:@"#000000"] There are 3 instances of it. note backgroundColor is the views background colour so it would be the same as the background, but you normally throw images at backgrounds so shouldn't be an issue. It will default to white
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
09/18/14 12:11 PM (9 years ago)
or substitute with [[appDelegate.rootApp.rootTheme jsonVars] objectForKey:@"backgroundColor"] this takes the global background colour, but can be over ridden on each separate screen. so the title colour will always be the same. Lot's of options
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
09/18/14 12:17 PM (9 years ago)
Then get your firkin arse to oxford
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
09/18/14 12:19 PM (9 years ago)
Thanks.. I'd love to go. But I have some family matters that need to be attended to... You have fun with your date at KFC...
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
09/18/14 09:16 PM (9 years ago)
Youse guys are hilarious!
 

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.