objective c - Set a custom subclass of UINavigationBar in UINavigationController programmatically -


Do anyone know how I can use my custom sub-class of UINavigationBar Can I update UINavigationController program (without IB)?

Drag a UINavigationController in the IB to show me under the navigation bar and I can change the class type using the Identity Inspector and enter my own UINavigationBar but programmatically I can not, Navigation Bar The property of the Navigation Controller is read only ...

I have the navigation bar programmatic What to customize Should rana? Is IB more "powerful" than "code"? I believe that IB can be done in whatever programmatic form can be done.

You use dirt bus kvc with XIB.

[self.navigationController setValue: [[[Custom NavBar alloc] init] capeth for autorelease: @ "Navbar"];

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

jquery - SimpleModal Confirm fails to submit form -