func previewDisplayName (String?) -> some View
Sets a user visible name to show in the canvas for a preview.
func previewDevice (PreviewDevice ?) -> some View
Overrides the device for a preview.
プレビューに対するデバイスをオーバーライドします。
struct PreviewDevice
A simulator device that runs a preview.
enum PreviewLayout
A size constraint for a preview.
func previewInterfaceOrientation (InterfaceOrientation ) -> some View
Overrides the orientation of the preview.
struct InterfaceOrientation
The orientation of the interface from the user’s perspective.