簡體   English   中英

hidebottombarwhenpush無法將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情節hidebottombarwhenpushedTabbar成功隱藏,但留下一個空視圖。

我也將hidebottombarwhenpushed放入了我的hidebottombarwhenpushed控制器中,在其中我從選項卡控制器中推送了但沒有任何作用

這是我的 圖片 標簽欄情節提要。

這是我的 TabbarVC 在模擬器中。

在這里,當我從Tabbar情節提要推到主Storyboard時,Tabbar處於隱藏狀態,但視圖為空。 圖片 模擬器的底部看到一個空視圖。

任何幫助,將不勝感激。

如果使用約束,請檢查UIViewController中UICollectionView [?]的底部約束是否設置為“ bottomLayoutGuide”(還要檢查是否選中了“使用安全區域”選項)。

使用XCode的視圖調試器也很有幫助。 嘗試查看視圖的邊界在哪里,並檢查是否未打破某些約束。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM