UISplitViewController: how to get toolbar if details controller is UITableView?
Posted
by
Krumelur
on Stack Overflow
See other posts from Stack Overflow
or by Krumelur
Published on 2010-12-28T16:49:50Z
Indexed on
2010/12/28
16:53 UTC
Read the original article
Hit count: 317
cocoa-touch
|monotouch
Hi,
I checked out Apple's example on how to exchange detail views in the UISplitViewController (http://developer.apple.com/library/ios/#samplecode/MultipleDetailViews/Introduction/Intro.html#//apple_ref/doc/uid/DTS40009775) and it seems that they put the UIToolbar in every detail controller. Then, if the device is rotated, they hide the toolbar or show it and add a popover button which will show the root controller. I'd like to adopt this pattern to show my root controller in a popover using a button in the toolbar, but unfortunately, my detail controllers are all UITableViewControllers and they do not allow adding other UI elements than a table view. So how do I deal with that? Is there an example around?
René
© Stack Overflow or respective owner