Edytuj

Udostępnij za pośrednictwem


UISplitViewControllerDelegate.EventShowDetailViewController Method

Definition

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

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

Parameters

splitViewController
UISplitViewController

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

vc
UIViewController

The view controller that is being displayed in the secondary 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