UIApplicationDelegate.DidChangeStatusBarOrientation Method

Definition

Indicates that the orientation of the status bar has changed.

[Foundation.Export("application:didChangeStatusBarOrientation:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DidChangeStatusBarOrientation(UIKit.UIApplication application, UIKit.UIInterfaceOrientation oldStatusBarOrientation);
[<Foundation.Export("application:didChangeStatusBarOrientation:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DidChangeStatusBarOrientation : UIKit.UIApplication * UIKit.UIInterfaceOrientation -> unit
override this.DidChangeStatusBarOrientation : UIKit.UIApplication * UIKit.UIInterfaceOrientation -> unit

Parameters

application
UIApplication

Reference to the UIApplication that invoked this delegate method.

oldStatusBarOrientation
UIInterfaceOrientation

The status bar's previous orientation.

Implements

Attributes

Applies to