Difference between revisions of "UISplitViewController"

From iPhone Development Wiki
Jump to: navigation, search
(Created page with 'UISplitViewController is for displaying 2 view controllers together. It should only be used for the iPad. == Showing the Master Controller in Portrait Mode == {{function si…')
 
(- rm ambiguity)
Line 1: Line 1:
[[UISplitViewController]] is for displaying 2 view controllers together. It should only be used for the iPad.  
+
[[UISplitViewController]] is used for displaying two view controllers together. It is generally used only for the iPad.  
  
 
== Showing the Master Controller in Portrait Mode ==
 
== Showing the Master Controller in Portrait Mode ==

Revision as of 06:40, 21 January 2014

UISplitViewController is used for displaying two view controllers together. It is generally used only 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