Condividi tramite


UIViewController.PreferredStatusBarStyle Metodo

Definizione

UiStatusBarStyle preferito per questo UIViewController.

[Foundation.Export("preferredStatusBarStyle")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIStatusBarStyle PreferredStatusBarStyle ();
abstract member PreferredStatusBarStyle : unit -> UIKit.UIStatusBarStyle
override this.PreferredStatusBarStyle : unit -> UIKit.UIStatusBarStyle

Restituisce

Chiave UIStatusBarStyle che specifica lo stile della barra di stato preferito del controller di visualizzazione.

Attributi

Si applica a