NavigationController 與TabBarController 一起使用時,如果想在某一頁不顯示TabBar,可在前一頁輸入

self.hidesBottomBarWhenPushed = YES;

效果是,下一頁的TabBar就會被隱藏

 

參考資料:

http://stackoverflow.com/questions/6383069/how-to-hide-show-tab-bar-of-a-view-with-a-navigation-bar-in-ios

http://stackoverflow.com/questions/6383069/how-to-hide-show-tab-bar-of-a-view-with-a-navigation-bar-in-ios

http://webcache.googleusercontent.com/search?q=cache:G7NiYjY9Pn8J:stackoverflow.com/questions/7864371/ios-how-to-pass-prepareforsegue-an-object+&cd=1&hl=zh-TW&ct=clnk&gl=tw&client=safari

http://stackoverflow.com/questions/5569961/hidesbottombarwhenpushed-but-when-popped

 

arrow
arrow
    全站熱搜

    小賢 發表在 痞客邦 留言(0) 人氣()