Toolbar hiding on rotated UISplitView DetailView

Posted by Gerry on Stack Overflow See other posts from Stack Overflow or by Gerry
Published on 2010-06-01T19:10:18Z Indexed on 2010/06/01 19:13 UTC
Read the original article Hit count: 458

I've based my app on Apple's SplitView project type. I have a TableView as the Master, and am using different types of views as the Detail view. To select types of detail view, I'm using the fancy concept of buttons on my DetailView toolbar. When the DetailView is derived from UIViewController, everything is good. When the DetailView derives from UIViewController, but contains a UITableView then I have problems. In portrait view the toolbar is visible. In landscape mode the toolbar is hidden, even though the Tableview is moved down to allow space for it. The UIToolbar and UITableView are both defined in my NIB file which is loaded to create the detail view. Why is my toolbar invisible in landscape?

BTW, is this the best way to choose Detail view types with UISplitView? Bonus question, what if selecting a row in my DetailView tableview should bring up another View, I can't push it like I would with a NaviagtionController, so how do I go back to the detail tableview?

Thanks, Gerry

© Stack Overflow or respective owner

Related posts about uitableview

Related posts about ipad