Specifies the animation style to use for hiding and showing the status bar for the view controller.
SDKs
- iOS 7.0+
- Mac Catalyst 13.0+
Framework
- UIKit
Declaration
var preferredStatusBarUpdateAnimation: UIStatus Bar Animation { get }
Return Value
The style of status bar animation to use; one of the constants from the UIStatus
enum. Default value is UIStatus
.
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 prefers
method.