Is there any way to make the default navigation bar of an UINavigationController
display at the bottom instead of the top?
I know that there is an UIToolbar
that can be displayed at the bottom, but that one is specific to each view and does not carry the "back" button.
If you create your view using a NIB, then it is rather simple - select navigation bar in attributes->bottom bar. If not then you should access navigation bar directly and change its coordinates. In your view controller:
CGRect oldRect = self.navigationController.navigationBar.frame;
self.navigationController.navigationBar.frame = CGRectMake(x, y, oldRect.width, oldRect.height);
where x and y are coordinates to place your navigation bar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With