iPad: SplitView does not rotate
- by raj.tiwari
I have the following setup:
A subclass of UISplitViewController that creates the master and detail view controllers in the constructor.
Master and Detail view controllers that both override shouldAutorotateToInterfaceOrientation to return `YES'.
Detail view controller implements the UISplitViewControllerDelegate protocol and deals with the popover.
I am observing two weird issues that might be interrelated:
When the split view comes up (in portrait mode - default on simulator), the Master view is visible. It should not be.
When I rotate the simulator, the view does not "right" itself.
My UISplitViewController subclass does not override shouldAutorotateToInterfaceOrientation. However, both master and details view controllers do and return YES.
Any ideas what I might be doing wrong? Is this a simulator bug?
Thanks.
-Raj