I’m am trying to use the UIBarStyleBlackTranslucent after styling my UINavigationBar with setBackgroundImage:forBarMetrics.
The problem here is, its now always styled and when i set the barStyle nothing really happens.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think you will have to set your custom appearance individually for each navigation bar inside your viewcontroller’s viewDidLoad rather than using the class proxy:
This sounds tedious in the extreme. I’m away from my mac at the moment but it might be possible to keep your existing code and use the above method to set the background image to
niljust for the gallery?