I created a navigation controller from the storyboard, and now I'm trying to remove its translucent option
I put this on my appdelegate.m
[[UINavigationBar appearance] setBarTintColor:[UIColor colorWithRed:52.0/255 green:152.0/255 blue:219.0/255 alpha:1]]; [[UINavigationBar appearance] setTintColor:[UIColor whiteColor]]; [[UINavigationBar appearance] setTranslucent:NO];
But this is a failure of my application with an error, but I'm not sure if this is the right approach.
I found this similar question, but did not solve my problem: The Transparent Bar Style navigation controller does not work
But I'm not sure how to do this because I do not have the navController variable since I created my navigation controller from the storyboard. How can I programmatically call the navigation manager for the storyboard and do something similar?
thanks
ios objective-c iphone
Rodrigo parra
source share