![](/img/trans.png)
[英]How to navigate from one storyboard to another TabBarController?
[英]hidebottombarwhenpush is not working in moving tabbarcontroller storyboard to another storyboard
這是我的問題,就像我有一個名為Tabbar.storyboard
的情節Tabbar.storyboard
和另一個名為Main.storyboard
情節Main.storyboard
。 Tabbar.storyboard
是我最初的情節Tabbar.storyboard
,應用程序從該情節Tabbar.storyboard
開始。 現在,當我從啟用了hidebottombarwhenpushed
Tabbar
情節Tabbar
移到Main
情節hidebottombarwhenpushed
, Tabbar
成功隱藏,但留下一個空視圖。
我也將hidebottombarwhenpushed
放入了我的hidebottombarwhenpushed
控制器中,在其中我從選項卡控制器中推送了但沒有任何作用
這是我的 標簽欄情節提要。
在這里,當我從Tabbar情節提要推到主Storyboard時,Tabbar處於隱藏狀態,但視圖為空。 模擬器的底部看到一個空視圖。
任何幫助,將不勝感激。
如果使用約束,請檢查UIViewController中UICollectionView [?]的底部約束是否設置為“ bottomLayoutGuide”(還要檢查是否選中了“使用安全區域”選項)。
使用XCode的視圖調試器也很有幫助。 嘗試查看視圖的邊界在哪里,並檢查是否未打破某些約束。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.