开发者

Add toolbar at the bottom of UISplitView based iPad app

I have created UISplit view based application. Both, master(root) and开发者_C百科 detail views are navigation based (UINavigationController). Now I want to add a bar (probably UIToolbar) at the bottom of both views. On this bottom bar I want to keep few buttons like Home, favorites etc.

As of now, nothing is pushed on the root view side. Just to add, RootViewController is inherited from UIViewController with UITableView in it. But on the detail side, we keep on pushing other views on its navigation controller.

I would like the bottom bar to be visible all the time i.e. when other view controllers are pushed on their respective navigation controllers.

Please suggest how to go about this. Thanks.


I couldn't find a proper answer. But as a workaround, I added UIToolBar at the bottom of each view in xib with same set of bar buttons and provided the same functionality everywhere.


See my answer to this question and adjust to put your UIToolbar at the bottom instead of top.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜