Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

newtomac123

macrumors newbie
Original poster
Jan 8, 2014
18
0
Pre-Xcode update, I didn't have this issue, but since I've updated my Xcode I'm having a problem with the navigation bar. I've placed the code in AppDelagate.m multiple different ways (did a little research on line), but I'm not getting the correct response.

I've tried each of these:
Code:
1. [[UINavigationBar appearance] setBarTintColor:[UIColor yellowColor]];

2. #define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]

[[UINavigationBar appearance] setBarTintColor:UIColorFromRGB(0x067AB5)];

Nothing changes in the navigation bar of the app (doesn't change to blue or yellow with each respective code).

I've been putting appdelgate for sometime without any issues (working fine pre update). Anyone having the same problem? Or can offer a simple solution?
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.