开发者

Hiding the Root View of a UISplitViewController

For the app that i am developing i have used a UISplitViewController as my base, but have modified, or attempting to modify the split view controller like that of Alice Bevan–McGregor's on http://vimeo.com/13054813. However in my app i have a table view with a list of options, and every time i click on an option it loads the corresponding detail page from a detached nib file. So, at the start of my app i can see and use the hidesidebar fine though it displays a white page. when i choose an option, the toolbar is overridden by the corresponding nib, so it dissapears. What i am not sure about is how to connect it in a way that it appears on every page(nib) everytime i choose an option from the tableview. I have been stuck with this problem for quite a while now.

essentially i would开发者_如何学C like the toolbar to maintain its functionality no matter what page i am on.

Anyone have any ideas?


May be you should give a try to this http://mattgemmell.com/2010/07/31/mgsplitviewcontroller-for-ipad

It has the following method

- (IBAction)toggleMasterView:(id)sender;

My own implementation of custom splitview using navigation based app @ https://github.com/palaniraja/cUISplitViewController

Also try Salva's implementation http://iphone-dev-tips.alterplay.com/2011/05/custom-uisplitviewcontroller-for-ipad.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜