編輯

共用方式為


UIApplicationDelegate.WillChangeStatusBarOrientation Method

Definition

Indicates that the orientation of the status bar will change shortly.

[Foundation.Export("application:willChangeStatusBarOrientation:duration:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void WillChangeStatusBarOrientation (UIKit.UIApplication application, UIKit.UIInterfaceOrientation newStatusBarOrientation, double duration);
abstract member WillChangeStatusBarOrientation : UIKit.UIApplication * UIKit.UIInterfaceOrientation * double -> unit
override this.WillChangeStatusBarOrientation : UIKit.UIApplication * UIKit.UIInterfaceOrientation * double -> unit

Parameters

application
UIApplication

Reference to the UIApplication that invoked this delegate method.

newStatusBarOrientation
UIInterfaceOrientation
duration
Double
Attributes

Applies to