UIViewController.PreferredStatusBarStyle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The preferred UIStatusBarStyle for this 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
Returns
A UIStatusBarStyle key that specifies the view controller's preferred status bar style.
- Attributes