---
title: statusBarFrame
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uistatusbarmanager/statusbarframe
---

# statusBarFrame

The frame rectangle of the status bar.

## Declaration

```swift
var statusBarFrame: CGRect { get }
```

## Discussion

Discussion The frame rectangle is in the coordinate space of the associated UIWindowScene object. If the status bar is hidden, the value of this property is CGRectZero.
