UISplitViewControllerDelegate_Extensions.WillShowViewController(IUISplitViewControllerDelegate, UISplitViewController, UIViewController, UIBarButtonItem) UISplitViewControllerDelegate_Extensions.WillShowViewController(IUISplitViewControllerDelegate, UISplitViewController, UIViewController, UIBarButtonItem) Method

Definition

Indicates that the UISplitViewController is about to be shown.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'UISearchController' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void WillShowViewController (this UIKit.IUISplitViewControllerDelegate This, UIKit.UISplitViewController svc, UIKit.UIViewController aViewController, UIKit.UIBarButtonItem button);
static member WillShowViewController : UIKit.IUISplitViewControllerDelegate * UIKit.UISplitViewController * UIKit.UIViewController * UIKit.UIBarButtonItem -> unit

Parameters

This
IUISplitViewControllerDelegate IUISplitViewControllerDelegate

The instance on which this extension method operates.

svc
UISplitViewController UISplitViewController

The split view controller whose display mode is changing.

aViewController
UIViewController UIViewController

Specified view controller.

button
UIBarButtonItem UIBarButtonItem

An enumeration of the predefined UIBarButtonItems.

Applies to