Doug Null Doug Null - 11 months ago 57
iOS Question

How to set the title of a Navigation Bar programatically?

I have a Navigation Bar in a view, and I want to change its Navigation Item title programmaticaly.

How is this done?

Answer Source

In your UIViewController

self.navigationItem.title = @"The title";