Modifier

Partager via


UISplitViewControllerDelegate.EventShowViewController Method

Definition

Queries the delegate to see if it wants to perform the work of displaying a view controller in the primary position of the split view interface.

[Foundation.Export("splitViewController:showViewController:sender:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool EventShowViewController (UIKit.UISplitViewController splitViewController, UIKit.UIViewController vc, Foundation.NSObject sender);
abstract member EventShowViewController : UIKit.UISplitViewController * UIKit.UIViewController * Foundation.NSObject -> bool
override this.EventShowViewController : UIKit.UISplitViewController * UIKit.UIViewController * Foundation.NSObject -> bool

Parameters

splitViewController
UISplitViewController

Designates the split view controller that has its primary view being updated.

vc
UIViewController

The view controller that is being displayed in the primary position.

sender
NSObject

The action making the request.

Returns

Returns true if the developer handled the presentation of the specified view controller, and false if they wanted the split view controller to perform that action.

Attributes

Applies to