问题
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.
回答1:
set a UIButton
as UINavigationItem's titleView
.. add an action to that button.. for more details read UINavigationItem class reference
来源:https://stackoverflow.com/questions/3572346/clickable-navbar-title