iOS – How to remove “Back” text from the back button

The best solution is to create base classes for UIViewController and UITableViewController and override their init methods. This will allow you to add ViewControllers to the NavigationController programmatically after a rootViewController. If you put this code in the ViewDidLoad method, it will not be called in this case and the next controller will be pushed with a back text.

BaseViewController in Objective C:

BaseTableViewController:

Leave a Reply

Your email address will not be published. Required fields are marked *