Doug Null Doug Null - 3 months ago 9
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

In your UIViewController

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