CPApplicationDelegate.ChangedStatusBarFrame(UIApplication, CGRect) Method

Definition

Indicates that the Frame of the status bar has changed.

[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

Parameters

application
UIApplication

Reference to the UIApplication that invoked this delegate method.

oldStatusBarFrame
CGRect

The status bar's previous Frame.

Attributes

Remarks

After this method ends, the system posts a UIApplicationDidChangeStatusBarFrameNotification (see ObserveDidChangeStatusBarFrame).

Applies to