NavigationController 與TabBarController 一起使用時,如果想在某一頁不顯示TabBar,可在前一頁輸入
self.hidesBottomBarWhenPushed = YES;
效果是,下一頁的TabBar就會被隱藏
參考資料:
http://stackoverflow.com/questions/5569961/hidesbottombarwhenpushed-but-when-popped
全站熱搜
NavigationController 與TabBarController 一起使用時,如果想在某一頁不顯示TabBar,可在前一頁輸入
self.hidesBottomBarWhenPushed = YES;
效果是,下一頁的TabBar就會被隱藏
參考資料:
http://stackoverflow.com/questions/5569961/hidesbottombarwhenpushed-but-when-popped
留言列表