0

How do I disable the text from the navigation bar back button for every view controller?

I would like the back button to contain just the default "<" icon.

It takes up too much space.

Here is way of doing it, but it seems awkward to have to change every view controller.

How to change the UINavigationController back button name?

Thank you.

Community
  • 1
  • 1
Jeep
  • 23
  • 1
  • 4
  • You could do the same thing but in a navigation controller delegate... – Wain Apr 10 '16 at 07:33
  • You will have to subclass `UINavigationController` and use the `- (void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated` to set the title as given in the link in your question. – Nishant Apr 10 '16 at 08:45

0 Answers0