IPad: SplitView does not rotate
I have the following setup:
- A subclass
UISplitViewController
that creates master and verbose view controllers in the constructor. - Master and Detail view controllers that override
shouldAutorotateToInterfaceOrientation
to returnYES
. - The verbose controller implements the protocol
UISplitViewControllerDelegate
and deals with the popover.
I see two strange problems that can be related:
-
When the split view is opened (in portrait mode - by default on the simulator), the master view is visible. It doesn't have to be.
-
When I rotate the simulator, the view is not "correct".
Subclass UISplitViewController
does not override shouldAutorotateToInterfaceOrientation
. However, both presenters and view controllers do and return YES
.
Any ideas what I might be doing wrong? Is this a simulator bug?
+2
a source to share
2 answers