ios - setting title on navigation bar not working -


I want to set the title in my navigation bar

  [self.navigationItem setTitle : @ "Some title"];   

However, the back button title is not changed to the navigation bar title.

  self.navigationController.navigationBar.topItem.title = @ "myTitle"; In   

or

or

H

  IBOutletUnavigationHTML * navItem;   

In. M

  navItem.title = @ "new title";    

Comments

Popular posts from this blog

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

c# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -

c++ - Redefined variable in the other module -