Edytuj

Udostępnij za pośrednictwem


UISplitViewControllerDelegate.WillShowViewController Method

Definition

Indicates that the UISplitViewController is about to be shown.

[Foundation.Export("splitViewController:willShowViewController:invalidatingBarButtonItem:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'UISearchController' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void WillShowViewController (UIKit.UISplitViewController svc, UIKit.UIViewController aViewController, UIKit.UIBarButtonItem button);
abstract member WillShowViewController : UIKit.UISplitViewController * UIKit.UIViewController * UIKit.UIBarButtonItem -> unit
override this.WillShowViewController : UIKit.UISplitViewController * UIKit.UIViewController * UIKit.UIBarButtonItem -> unit

Parameters

svc
UISplitViewController

The split view controller whose display mode is changing.

aViewController
UIViewController

Specified view controller.

button
UIBarButtonItem

An enumeration of the predefined UIBarButtonItems.

Attributes

Applies to