作者whitefur (白毛)
看板MacDev
標題[問題] Line的tabbar & navigation 結構
時間Thu Aug 8 18:08:11 2013
Line的結構很奇怪
同時是NavigationController in TabbarController 與
TabbarController in NavigationController的綜合體
ex:
切到「好友」時
didSelectRowAtIndexPath的動作看起來是
NavigationController in TabbarController
但是切到「聊天」時
didSelectRowAtIndexPath會連同tabbar
整個被push上來的ViewController蓋掉
看起來是
TabbarController in NavigationController
有人知道同時兼具這兩種結構是這怎麼寫的嗎?
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 1.160.28.133
※ 編輯: whitefur 來自: 1.160.28.133 (08/08 18:09)
→ whitefur:自問自答 hidesBottomBarWhenPushed = YES 08/08 18:30
→ yuanruo:自訂TabBar 就好 用Button取代 幾乎沒人在用原生的吧? 08/08 20:21
推 wfgh:有原生的可以用幹嘛不用原生 特殊需求才用button吧 08/08 23:18
推 cococo19:Pin!!的圖片瀏覽好像也是這個:) 08/13 13:37