UISplitViewControllerDelegate.WillShowViewController Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The split view controller whose display mode is changing.
- aViewController
- UIViewController
Specified view controller.
- button
- UIBarButtonItem
An enumeration of the predefined UIBarButtonItems.
- Attributes