CPApplicationDelegate.ChangedStatusBarFrame(UIApplication, CGRect) 方法

定义

指示 Frame 状态栏的 已更改。

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

参数

application
UIApplication

对调用此委托方法的 UIApplication 的引用。

oldStatusBarFrame
CGRect

状态栏的上一个帧。

属性

注解

此方法结束后,系统会发布 (UIApplicationDidChangeStatusBarFrameNotification 看到 ObserveDidChangeStatusBarFrame) 。

适用于