Answer to Stackoverflow question 2: Unable to set the title of a view controller

Unable to set the title of UINavigation Controller 


– In order to set the title, you need to set the title of the view controller. For this you need to have a navigation controller, and set its title. Then you can hide the navigation controller, if you wish. I have pasted the sample code below.
– Once you set the title of the navigation controller, then you can push the views however you like. See the sample code.

Leave a Reply

Your email address will not be published. Required fields are marked *