PreviewLayout.device Center the preview in a container the size of the device on which the preview is running. Declarationcase device See AlsoGetting a layoutPreviewLayout.fixed(width:height:)PreviewLayout.fixed3D(width:height:depth:)PreviewLayout.sizeThatFits