Is there any global function that I can override when the view controller is changed?
Like in the app delegate?
I’m using mono touch and I want to change my navigation bar for every page.
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.
Here are a couple examples to help you out.
You can do these in
ViewDidLoad():Titleon the controller to set the text of the title barNavigationBar.RightBarButtonItemorNavigationBar.LeftBarButtonItemto add an additionalbutton to the toolbar
NavigationBar.TintColorto change the color of the barIf you do these in
ViewDidLoadit will do it for each screen or “controller” you need to setup.If you mention which feature you need specifically, we could help you out more.