I created one title for navigationbar in my storyboard project ,but when I moved to next viewcontroller the back button shows the same name as my previous navigationbar(Main
The following should solve your problem
-(void)viewDidAppear:(BOOL)animated { self.navigationController.navigationBar.backItem.title = @"back"; }
You can also use this Objective-C syntax
[[self.navigationController.navigationBar backItem] setTitle:@"back"];