In Xcode 4. using these functions will not work;
self.navigationItem.leftBarButtonItem.enabled=NO; self.navigationItem.leftBarButtonItem=nil; self.navigationController.navigationBar.backItem.hidesBackButton=YES; [self.navigationItem.leftBarButtonItem release];
I am really wondering why you are specifying rightBarButtonItem? When you move, its leftBarButtonItem element changes.
What works,
1) self.title =@ ""; resetting the title of the screen when the navigation controller pushes a detailed view onto the stack; no reverse button is created.
2) replacing leftBarButtonItem with something else, changing the button, but not solving your problem.
3) Alternative. Hide the navigation bar; [self.navigationController setNavigationBarHidden:YES animated:YES];
source share