---
title: UIStatusBarAnimation
framework: uikit
role: symbol
role_heading: Enumeration
path: uikit/uistatusbaranimation
---

# UIStatusBarAnimation

Constants that specify the animation of the status bar as it’s hidden or made visible.

## Declaration

```swift
enum UIStatusBarAnimation
```

## Overview

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

## Topics

### Constants

- [UIStatusBarAnimation.none](uikit/uistatusbaranimation/none.md)
- [UIStatusBarAnimation.fade](uikit/uistatusbaranimation/fade.md)
- [UIStatusBarAnimation.slide](uikit/uistatusbaranimation/slide.md)

### Initializers

- [init(rawValue:)](uikit/uistatusbaranimation/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Deprecated enumerations

- [UIDirectionalRectEdge](uikit/uidirectionalrectedge.md)
