Modifica

Condividi tramite


UIApplicationDelegate.DidChangeStatusBarOrientation Method

Definition

Indicates that the orientation of the status bar has changed.

[Foundation.Export("application:didChangeStatusBarOrientation:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidChangeStatusBarOrientation (UIKit.UIApplication application, UIKit.UIInterfaceOrientation oldStatusBarOrientation);
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.

Attributes

Remarks

After this method ends, the systems posts a UIApplicationDidChangeStatusBarOrientationNotification (see ObserveDidChangeStatusBarOrientation).

Applies to