UISplitViewControllerDelegate.SeparateSecondaryViewController Method

Definition

Requests that the delegate provide a new secondary view controller for the split view interface.

[Foundation.Export("splitViewController:separateSecondaryViewControllerFromPrimaryViewController:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIViewController SeparateSecondaryViewController (UIKit.UISplitViewController splitViewController, UIKit.UIViewController primaryViewController);
abstract member SeparateSecondaryViewController : UIKit.UISplitViewController * UIKit.UIViewController -> UIKit.UIViewController
override this.SeparateSecondaryViewController : UIKit.UISplitViewController * UIKit.UIViewController -> UIKit.UIViewController

Parameters

splitViewController
UISplitViewController

The split view controller with the expanding interface.

primaryViewController
UIViewController

Primary view controller specified for the expanded split view interface.

Returns

Returns view controller to be used as the secondary view controller in the expanded split view interface or null to enable the split view controller to choose an appropriate secondary view controller.

Attributes

Applies to