_SpatialPreview_SwiftUI provides a SwiftUI view component for selecting and connecting to nearby companion devices that offer spatial preview capabilities on macOS. You use it to present a discovery and connection interface in your app, letting people choose a nearby device and establish a link for previewing spatial content. The module exposes no public Swift types of its own; it acts as a cross-import overlay that bridges spatial preview device connectivity into SwiftUI.
Structures 1
- StSpatialPreviewDevicePickerPresents nearby companion devices and allows the user to make a selection.