After IOS7. The default return button font color is blue, showing the title as parent VC (Top level interface)
If you want to make changes, you can use the following methods:
1. Modify the font color
(1) In plist, add view controller-based status bar appearance and set to No
(2) In the interface that needs to be modified. Add the following code (add to Viewdidload)
Self.navigationController.navigationBar.barStyle = Uistatusbarstyledefault; [Self.navigationController.navigationBar Settintcolor:[uicolor Greencolor];
2. Modify text content
If a--->b is from a, push to B, the back button is in B
In the A interface, add the following code
Uibarbuttonitem *backitem = [[Uibarbuttonitem alloc] init]; Backitem.title = @ "Yo West"; Self.navigationItem.backBarButtonItem = Backitem;
Then the text that returns the button will become "Yo West"