共用方式為


CPApplicationDelegate.WillChangeStatusBarOrientation 方法

定義

表示狀態列的方向即將變更。

[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

參數

application
UIApplication

叫用這個委派方法的 UIApplication 參考。

newStatusBarOrientation
UIInterfaceOrientation
duration
Double
屬性

適用於