Change the name of the UINavigationBar generated by Interface Builder

Everything is in the title. I want to change the title of my UINavigationBar that I created with Interface Builder (navbar + nav) in the "awakeFromNib" method of my view class. But I don't know how to create a link with Interface Builder.

Can you help me?

+2


a source to share


1 answer


Just write this when you load the view:

self.navigationItem.title = @ "Your Title";



Should work fine :)

Hope it helps!

+6


a source







All Articles