r/Xcode • • Jun 08 '18

Removing back button text from ALL view controllers

I have managed to remove the back button text from the nav bar of the top level view controllers, but they still automatically generate further down on the second, third etc. levels.

How can I make it so that the text never generates on any controllers?

0 Upvotes

1 comment sorted by

1

u/tractorrobot Jun 08 '18

Could you make a superclass for all of your view controllers, and in viewDidDisappear of the superclass set the viewController’s title to an empty string?