---
title: safeAreaLayoutGuide
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiview/safearealayoutguide
---

# safeAreaLayoutGuide

The layout guide representing the portion of your view that is unobscured by bars and other content.

## Declaration

```swift
var safeAreaLayoutGuide: UILayoutGuide { get }
```

## Mentioned in

Positioning content relative to the safe area

## Discussion

Discussion When the view is visible onscreen, this guide reflects the portion of the view that is not covered by navigation bars, tab bars, toolbars, and other ancestor views. (In tvOS, the safe area reflects the area not covered the screen’s bezel.) If the view is not currently installed in a view hierarchy, or is not yet visible onscreen, the layout guide edges are equal to the edges of the view. For the view controller’s root view, the layout guide accommodates the status bar, other visible bars, and any additional insets that you specified using the additionalSafeAreaInsets property of your view controller. For other views in the view hierarchy, the layout guide reflects only the portion of the view that is covered by other content. For example, if a view is entirely within the safe area of its superview, the layout guide edges are equal to the edges of the view.

## See Also

### Getting the safe area

- [Positioning content relative to the safe area](uikit/positioning-content-relative-to-the-safe-area.md)
- [safeAreaInsets](uikit/uiview/safeareainsets.md)
- [safeAreaInsetsDidChange()](uikit/uiview/safeareainsetsdidchange().md)
- [insetsLayoutMarginsFromSafeArea](uikit/uiview/insetslayoutmarginsfromsafearea.md)
