<!--
{
  "availability" : [
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/Scene/windowToolbarStyle(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI5ScenePAAE18windowToolbarStyleyQrqd__AA06WindoweF0Rd__lF"
  },
  "title" : "windowToolbarStyle(_:)"
}
-->

# windowToolbarStyle(_:)

Sets the style for the toolbar defined within this scene.

```
nonisolated func windowToolbarStyle<S>(_ style: S) -> some Scene where S : WindowToolbarStyle
```

---

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)