Enumeration

UIStatusBarAnimation

The animation applied to the status bar as it is hidden or made visible.

Declaration

enum UIStatusBarAnimation : Int

Overview

Constants of the UIStatusBarAnimation type are arguments of the setStatusBarHidden(_:with:) method.

Topics

Constants

case none

No animation is applied to the status bar as it is shown or hidden.

case fade

The status bar fades in and out as it is shown or hidden, respectively.

case slide

The status bar slides in or out as it is shown or hidden, respectively.

See Also

Responding to Status Bar Changes

enum UIStatusBarStyle

The style of the device’s status bar.