I am developing a navigation based application and I have a custom titleView and a rightBarButtonItem for the navigationBar which i want in all navigation items of my application (like a logo and a menu button which you can access from all views).
Is there any good practice to implement this rather than manually setting the titleView and the rightBarButtonItem every time i push a new viewController ? I am using monotouch.dialog but any tips are welcome, since this seems more like a question about the sdk.
Regards,
You might want to first ask yourself if you really need a UINavigationBar that is directly correlated to the UINavigationController or whether you’d like a static UIToolbar with your content.
Alternatively, you could do what @MartinMoizard is referring to which is subclass UIViewController. I’ve provided samples for both below. Cheers!