<!--
{
  "availability" : [
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/NSHostingSceneBridgingOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI29NSHostingSceneBridgingOptionsV"
  },
  "title" : "NSHostingSceneBridgingOptions"
}
-->

# NSHostingSceneBridgingOptions

Options for how hosting views and controllers manage aspects of the
associated window.

```
struct NSHostingSceneBridgingOptions
```

## Topics

### Geting bridging options

[`static let all: NSHostingSceneBridgingOptions`](/documentation/SwiftUI/NSHostingSceneBridgingOptions/all)

The hosting view’s associated window will have both its title bars and
toolbars populated with values from their respective modifiers.

[`static let title: NSHostingSceneBridgingOptions`](/documentation/SwiftUI/NSHostingSceneBridgingOptions/title)

The hosting view’s associated window will have its title and subtitle
populated with the values provided to the `navigationTitle(_:)` and
`navigationSubtitle(_:)` modifiers, respectively.

[`static let toolbars: NSHostingSceneBridgingOptions`](/documentation/SwiftUI/NSHostingSceneBridgingOptions/toolbars)

The hosting view’s associated window will have its toolbar populated
with any items provided to the `toolbar(content:)` modifier.

### Creating a bridging options

[`init(rawValue: Int)`](/documentation/SwiftUI/NSHostingSceneBridgingOptions/init(rawValue:))

Creates a new set from a raw value.

[`let rawValue: Int`](/documentation/SwiftUI/NSHostingSceneBridgingOptions/rawValue)

The raw value.

## Relationships

### Conforms To

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

[`OptionSet`](/documentation/Swift/OptionSet)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`SetAlgebra`](/documentation/Swift/SetAlgebra)

---

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)