---
title: safeAreaAspectFitLayoutGuide
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiwindow/safeareaaspectfitlayoutguide
---

# safeAreaAspectFitLayoutGuide

A layout guide for placing content of a particular aspect ratio.

## Declaration

```swift
var safeAreaAspectFitLayoutGuide: any UILayoutGuide & UILayoutGuideAspectFitting { get }
```

## Discussion

Discussion This layout guide provides a centered region in the window where you can place media content of a particular aspect ratio (width over height) to avoid obscuring the content. important: Use this layout guide for full-screen content. Avoid adding constraints to the guide through deeply nested view hierarchies.

## See Also

### Working with layout guides

- [UILayoutGuideAspectFitting](uikit/uilayoutguideaspectfitting.md)
