編輯

共用方式為


UISplitViewControllerDelegate_Extensions.SeparateSecondaryViewController Method

Definition

Returns a new secondary view controller to use in split-view mode, or nil to use the default.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UIViewController SeparateSecondaryViewController (this UIKit.IUISplitViewControllerDelegate This, UIKit.UISplitViewController splitViewController, UIKit.UIViewController primaryViewController);
static member SeparateSecondaryViewController : UIKit.IUISplitViewControllerDelegate * UIKit.UISplitViewController * UIKit.UIViewController -> UIKit.UIViewController

Parameters

This
IUISplitViewControllerDelegate

The instance on which this extension method operates.

splitViewController
UISplitViewController

The split view controller with the expanding interface.

primaryViewController
UIViewController

Primary view controller specified for the expanded split view interface.

Returns

Attributes

Applies to