UIKit.UIStatusBarStyle Enumeration
The visual style of the status bar.

Syntax

[ObjCRuntime.Native]
public enum UIStatusBarStyle

Remarks

Starting in iOS 7, the status bar does not have background content, so application developers must ensure that the style of the status bar works with the content of the UIKit.UIView that will appear behind it. The UIStatusBarStyle.Default style of the status bar presents dark content (i.e., its text and content are dark). If the underlying view has dark content, the status bar will be more legible if the application developer overrides UIViewController.PreferredStatusBarStyle so that it returns UIStatusBarStyle.LightContent.

Members

Member NameDescription
BlackOpaqueApplication developers should not use this deprecated style.
BlackTranslucentApplication developers should not use this deprecated style.
DefaultThe default, dark, value for content in the status bar. Preferable for use with lighter-colored content views.
LightContentContent in the status bar is drawn with light values. Preferable for use wth darker-colored content views.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0