Difference between revisions of "UISplitViewController"

From iPhone Development Wiki
Jump to: navigation, search
(- rm ambiguity)
(switching back advice, based on https://developer.apple.com/library/ios/documentation/uikit/reference/UISplitViewController_class/Reference/Reference.html)
 
Line 1: Line 1:
[[UISplitViewController]] is used for displaying two view controllers together. It is generally used only for the iPad.  
+
'''UISplitViewController''' is used for displaying two view controllers together. It should only be used for the iPad.
  
 
== Showing the Master Controller in Portrait Mode ==
 
== Showing the Master Controller in Portrait Mode ==

Latest revision as of 09:39, 21 January 2014

UISplitViewController is used for displaying two view controllers together. It should only be used for the iPad.

Showing the Master Controller in Portrait Mode

Signature @property(assign,nonatomic) BOOL hidesMasterViewInPortrait;
Available in 3.2 —

By default the master (left) controller is hidden in a pop-over in portrait mode. To make it appear in portrait mode too, one needs to set this property to YES.

This is the mechanism used in Preferences.

References