views:

309

answers:

1

I have a UINavigationController with toolbarHidden set to NO.

I have added UIBarButtonItems to navigationController.toolbar.

The toolbar is displayed, but the buttons are not...

What gives?

+1  A: 

Ok so apparently I misunderstood the usage of the setItems method on navigationController.

To remedy this I set the toolbar items on each view controller that is pushed onto the navigation controller's stack.

I guess if I wanted to have one toolbar persist through all the views I could add a new toolbar to the view controller holding my navigation controller then simply invoke setItems on my navigation controller.

I digress.

collin