Bewerken

Delen via


UISplitViewControllerDelegate.WillHideViewController Method

Definition

Indicates that the UISplitViewController is about to be hidden.

[Foundation.Export("splitViewController:willHideViewController:withBarButtonItem:forPopoverController:")]
[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 WillHideViewController (UIKit.UISplitViewController svc, UIKit.UIViewController aViewController, UIKit.UIBarButtonItem barButtonItem, UIKit.UIPopoverController pc);
abstract member WillHideViewController : UIKit.UISplitViewController * UIKit.UIViewController * UIKit.UIBarButtonItem * UIKit.UIPopoverController -> unit
override this.WillHideViewController : UIKit.UISplitViewController * UIKit.UIViewController * UIKit.UIBarButtonItem * UIKit.UIPopoverController -> unit

Parameters

svc
UISplitViewController

The split view controller whose display mode is changing.

aViewController
UIViewController

Specified view controller.

barButtonItem
UIBarButtonItem

An enumeration of the predefined UIBarButtonItems.

pc
UIPopoverController

Specified popover controller.

Attributes

Applies to