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…')
 
(switching back advice, based on https://developer.apple.com/library/ios/documentation/uikit/reference/UISplitViewController_class/Reference/Reference.html)
 
(One intermediate revision by one other user not shown)
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 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