I would like to make popover view visible whenever user switches from landscape view to portrait view in UIsplitView of iPad. Although user can make it visible by clicking on bar button but I want this to be automated for portrait mode.
+1
A:
Inside " -(BOOL) shouldAutorotateToInterfaceOrientation" method, check for the device orientation.If it is portrait, then Present the popover as you do for making it visible when user clicks bar button.
All the best.
GopiKrishnAn
2010-09-27 12:52:03
and this should be implemented in which view controller exactly?
2010-10-11 23:43:26
detail view controller of your split view controller. All the best.
GopiKrishnAn
2010-10-12 04:57:39