Contents

preferredStatusBarUpdateAnimation

Specifies the animation style to use for hiding and showing the status bar for the view controller.

Declaration

var preferredStatusBarUpdateAnimation: UIStatusBarAnimation { get }

Return Value

The style of status bar animation to use; one of the constants from the UIStatusBarAnimation enum. Default value is UIStatusBarAnimation.fade.

Discussion

This property comes into play only when you actively change the status bar’s show/hide state by changing the return value of the prefersStatusBarHidden method.

See Also

Managing the status bar