<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/DisplayProxy/safeAreaInsets",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI12DisplayProxyV14safeAreaInsetsAA04EdgeG0Vvp"
  },
  "title" : "safeAreaInsets"
}
-->

# safeAreaInsets

The safe area inset of this display.

```
let safeAreaInsets: EdgeInsets
```

## Discussion

On macOS, the safe area contains space occupied by the dock and
menu bar, and is dependent on the current user settings. Additionally,
on Macs that include a camera housing in the bezel, the safe area
contains the vertical space occupied by the bezel.

---

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)