UISplitViewControllerDelegate.CollapseSecondViewController(UISplitViewController, UIViewController, UIViewController) Method

Definition

Requests that the delegate adjust their primary view controller and incorporate their secondary view controller into the collapsed interface.

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

Parameters

splitViewController
UISplitViewController

Designates the split view controller with the collapsing interface.

secondaryViewController
UIViewController

Designates the secondary view controller for the split view interface.

primaryViewController
UIViewController

Designates the primary view controller for the split view interface.

Returns

Returns true if the developer does not want the split view controller to do anything with the secondary view controller, and false to enable the split view controller to attempt to incorporate the secondary view controller’s content into the collapsed interface.

Attributes

Applies to