![](/img/trans.png)
[英]The second ViewController in segmented container is under the navigation bar
[英]UITableView and segmented controller moving under navigation bar in IOS 11
UITableView
頂部和分段控制器隱藏在導航欄中,而這僅在iOS 11中才發生。
Navi Controller -> TabBar Controller -> ViewControllers
我嘗試取消選中頂部欄,底部欄, automaticallyAdjustsScrollViewInsets
但是它們都不起作用。
誰能解釋為什么這僅發生在iOS 11中?
用這個
self.navigationController.navigationBar.translucent = YES;
使您的NavigationBar半透明。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.