---
title: "presentedWindowStyle(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/presentedwindowstyle(_:)"
---

# presentedWindowStyle(_:)

Sets the style for windows created by interacting with this view.

## Declaration

```swift
nonisolated func presentedWindowStyle<S>(_ style: S) -> some View where S : WindowStyle

```

## See Also

### Styling windows from a view inside the window

- [presentedWindowToolbarStyle(_:)](swiftui/view/presentedwindowtoolbarstyle(_:).md)
