All worked fine in iOS 3.x on the iPad to prevent the Master view of the UISplitViewController from hiding. I created a method SizeControls() that was called whenever the device 开发者_C百科rotated (WillAnimateRotation event).
Now with iOS 4 on the iPad this no longer works. While the SizeControls is called something is still causing the Master view to be hidden. What do I need to do so that on both iOS 3 and iOS 4 I can have both Master and Details views appear just like in the Settings UI?
Thank you.
Take a look here, apple recommends you show the master view in a popover when in portrait.
If thats not a goer take a look at MGSplitViewController. Its a very nice split view which gives you this functionality for free.
精彩评论