Tweak UI Navigation on iOS 11
I have a problem with the navbar in iOS 11. I am using this code:
[UINavigationBar appearance].prefersLargeTitles = YES;
... set a new style for my application. It works well until the user pulls to refresh it on the table; then it breaks.
This happens before clicking "Update":
... and this is the following:
Note. I am using the built-in table view control controller.
I was looking for a solution, but it still eludes me. If anyone knows how to fix this, please leave a few tips.
Thanks for the support:)
source to share
While I do not claim that this is a solution for every situation that an error occurs, setting the navigationBar property isTranslucent
to true (which is also the default) fixed the problem for me.
If you want your navbar to be opaque, you can use the following code:
navigationBar.barStyle = .blackOpaque
source to share