Tweak UI Navigation on iOS 11

*爱你&永不变心* 提交于 2019-12-01 19:05:41

I have catch this bug too, and we have found the solution.

You must constraint your UITableView to superview (contentView of your view controller), after that large title and all related views starts to work correct.

Like this:

While I do not claim this is the solution for every situation the error occurs in, setting the navigationBar's isTranslucent property to true (which is also the default value) fixed the problem for me.

If you want to keep your navigation bar non-translucent you can use the following code:

navigationBar.barStyle = .blackOpaque
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!