編輯

共用方式為


CPApplicationDelegate.WillChangeStatusBarFrame(UIApplication, CGRect) Method

Definition

Indicates that the frame of the status bar is about to change.

[Foundation.Export("application:willChangeStatusBarFrame:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void WillChangeStatusBarFrame (UIKit.UIApplication application, CoreGraphics.CGRect newStatusBarFrame);
abstract member WillChangeStatusBarFrame : UIKit.UIApplication * CoreGraphics.CGRect -> unit
override this.WillChangeStatusBarFrame : UIKit.UIApplication * CoreGraphics.CGRect -> unit

Parameters

application
UIApplication

Reference to the UIApplication that invoked this delegate method.

newStatusBarFrame
CGRect
Attributes

Applies to