Compartilhar via


CPApplicationDelegate.DidChangeStatusBarOrientation Método

Definição

Indica que a orientação da barra de status foi alterada.

[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

Parâmetros

application
UIApplication

Referência à UIApplication que invocou esse método delegado.

oldStatusBarOrientation
UIInterfaceOrientation

A orientação anterior da barra de status.

Atributos

Comentários

Após o término desse método, os sistemas postam um UIApplicationDidChangeStatusBarOrientationNotification (consulte ObserveDidChangeStatusBarOrientation).

Aplica-se a