7

Possible Duplicate:
Custom UINavigationBar Background

I am creating my uinavigation controller programatically in the application delegate. I have a class that subclasses UINavigationBar and would like to assign that as the controller's navigation bar. In IB, I would just select the controller, its bar and change the class from the default to my custom class. However I don't know how to do this in code. Any help would be greatly appreciated.

0

1 Answer 1

0

I just started typing out a detailed reply when I remembered that I used my custom navigation controller from this post

Guess it is exactly what you're looking for as well.

Sign up to request clarification or add additional context in comments.

3 Comments

You got accepted but I recon that your answer is actually wrong since in your example, the UINavigationController is not created programmatically but in Interface Builder.
answer is wrong. It is not done programmatically
This is doing it in IB, not programatically...

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.