In my implementation, I will change the title of the page after triggering some method
//In viewdidload of my view controller which resides in a navigation controller
-(void)viewDidLoad
{
self.title = @"Title A";
}
-(void)changeTitle
{
self.title = @"Title B";
}
In the above example, after I trigger the 'changeTitle' method, I do not see my viewcontroller's title change immediately. In fact I need to push another viewcontroller onto the stack and subsequently press 'back' before I see the change to "title B".
Is there any way to refresh the navbar's title at the point where I change title?