I add UINavigationBar via Library to view.But I don’t know how to change this UINavigationBar from my ViewController.m. My view includes also TableView.This view have to be called from default application view.
In viewController.m,I added the following code but I can’t change NavigationBar properties.
self.navigationItem.title=@”List”;
self.navigationItem.backBarButtonItem.title=@”Back”;
I think that’s different UINavigationBar and UINavigationItem..
In the .h file use:
And in the .m file:
Don’t forget to connect UINavigationItem with the “item” in the XIB file
Double click UINavigationBar and you will get UINavigationItem…
Good luck