編輯

共用方式為


UINavigationControllerDelegate.WillShowViewController Method

Definition

Called by the system shortly before the viewController is displayed.

[Foundation.Export("navigationController:willShowViewController:animated:")]
public virtual void WillShowViewController (UIKit.UINavigationController navigationController, UIKit.UIViewController viewController, bool animated);
abstract member WillShowViewController : UIKit.UINavigationController * UIKit.UIViewController * bool -> unit
override this.WillShowViewController : UIKit.UINavigationController * UIKit.UIViewController * bool -> unit

Parameters

navigationController
UINavigationController
viewController
UIViewController
animated
Boolean
Attributes

Applies to