Reputation:
In a tabbed application, is it possible to have a navigation bar WITHOUT having to use an entire UINavigationController
as a UIViewController
? I simply need a navigation bar to position an icon on the right (it should simply open a modal). Of course, I could "fake" it with a UIView
, but it's not very elegant.
Upvotes: 0
Views: 49
Reputation: 58149
This is possible with a UINavigationBar
placed on the top of a view controller.
It is possible to create one from the storyboard, too. Look for the "Navigation Bar" element in the IB Inspector.
This will behave just like a navigation controler's nav bar, with the exception of the navigation functions.
Upvotes: 2