Reputation: 51
How can I make the title of a navbar clickable. Much like in the facebook application. Were when you click it it dismisses the view controller.
Upvotes: 2
Views: 935
Reputation: 10475
set a UIButton
as UINavigationItem's titleView
.. add an action to that button.. for more details read UINavigationItem class reference
Upvotes: 4