I am developing an app were I have to place images on the navigation-bar, whenever the user moves to the other view, different images have to appear in navigation bar. Could someone provide me with some guidance how to do this?
Share
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.
This might be more of a generic approach.
Create a Category for UINavigationBar and in the”.h” file
and in the “.m” file
And then from every Controller’s ‘viewwillAppear’ you can do something like this: