<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIStatusBarAnimation",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIStatusBarAnimation"
  },
  "title" : "UIStatusBarAnimation"
}
-->

# UIStatusBarAnimation

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

```
enum UIStatusBarAnimation
```

## Overview

Constants of the [`UIStatusBarAnimation`](/documentation/UIKit/UIStatusBarAnimation) type are arguments of the [`setStatusBarHidden(_:with:)`](/documentation/UIKit/UIApplication/setStatusBarHidden(_:with:)) method.

## Topics

### Constants

[`UIStatusBarAnimation.none`](/documentation/UIKit/UIStatusBarAnimation/none)

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

[`UIStatusBarAnimation.fade`](/documentation/UIKit/UIStatusBarAnimation/fade)

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

[`UIStatusBarAnimation.slide`](/documentation/UIKit/UIStatusBarAnimation/slide)

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



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)