i'm having 3 screens set title to screen1 using
- (void)viewDidLoad {
[super viewDidLoad];
self.navigationItem.title =@"Products";
}
when navigation to next screen (screen2) second screen having the title "Categories" but there is a button on the top name "Products" to Screen1
i want to change the button name as "Back"
Please tell me how?
triedself.navigationItem.leftBarButtonItem .title = @"Back";