ios - Back button text too long on navigation bar -
I am working on my first iOS application. I'm using the navigation controller and I'm running into a small problem. The point is that the text of the back button is too long. Because the text is too long the title is not always centered. I thought about removing the back button, but then I loose the latch to return the feature. What is the best way to handle this?
You can call it every ViewController where you want the back button.
self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc] initWithTitle: @ "" style: UIBarButtonItemStylePlain target: zero operation: zero];
Comments
Post a Comment