I am trying to set the back button on the navigation controller that currently has my view on the stack.
I can not change any of its attributes.
Is there an way I can grap the top most navigation controller like: [self navigationcontroller]?
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.
By default, the back button in a
UINavigationControlleris owned by the parent.Simply set the back button before you call
pushViewController:(taken from this tutorial)