开发者

how to load tab bar items dynamically in ios?

I have 2 tab bar items in popOver and there is plus button in popOver. When i click plus button i must remove currently displayed tab bar items and load other 3 tab bar items.

ex: tab1 and tab 2 are being displayed in popOver on launch. user press '+'but开发者_如何学Pythonton from popOver toolbar, tab 3 , tab4 and tab5 has to be displayed in same popOver.


Try creating both your UITabBar items and when the popOver conditon is met swap your tabbars out. Another idea would be to create another view with the second tabbar in it and just swap between UIViews.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜