Provides a user visible name shown in the editor.
SDKs
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- Xcode 11.0+
Framework
- Swift
UI
Provides a user visible name shown in the editor.
SDKs
Framework
func preview Device(Preview Device?) -> View
Overrides the device for a preview.
func preview Layout(Preview Layout) -> View
Overrides the size of the container for the preview.