dimanche 26 avril 2015

How do I add a view under the default views in the navigation bar?


I've read that article but it is not completed, also the approach which is described in the article uses some tricky things, founded on the class naming, like

[classNamesToReposition containsObject:NSStringFromClass([view class])]

It doesn't look good in the code.

I'm looking for a better approach to do that. I need to put some custom view under the default views of navigation bar. Like this:

enter image description here

How can I do that using the titleView property of the navigation bar?


Aucun commentaire:

Enregistrer un commentaire