---
title: preferredScreenEdgesDeferringSystemGestures
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/uihostingcontroller/preferredscreenedgesdeferringsystemgestures
---

# preferredScreenEdgesDeferringSystemGestures

Sets the screen edge from which you want your gesture to take precedence over the system gesture.

## Declaration

```swift
@MainActor @preconcurrency override dynamic var preferredScreenEdgesDeferringSystemGestures: UIRectEdge { get }
```

## See Also

### Configuring the interface appearance

- [preferredUserInterfaceStyle](swiftui/uihostingcontroller/preferreduserinterfacestyle.md)
- [childForScreenEdgesDeferringSystemGestures](swiftui/uihostingcontroller/childforscreenedgesdeferringsystemgestures.md)
