PreviewDevice
extension PreviewDevice
The available devices to be used for previewing elements in an Xcode preview.
Via https://developer.apple.com/documentation/swiftui/securefield/3289399-previewdevice
-
iPhone 7
Declaration
Swift
public static var iPhone7: PreviewDevice
-
Declaration
Swift
public static var iPhone7Plus: PreviewDevice
-
iPhone 8
Declaration
Swift
public static var iPhone8: PreviewDevice
-
Declaration
Swift
public static var iPhone8Plus: PreviewDevice
-
iPhone SE
Declaration
Swift
public static var iPhoneSE_1: PreviewDevice { get }
-
Declaration
Swift
public static var iPhoneSE_2: PreviewDevice { get }
-
iPhone X
Declaration
Swift
public static var iPhoneX: PreviewDevice
-
Declaration
Swift
public static var iPhoneXs: PreviewDevice
-
Declaration
Swift
public static var iPhoneXsMax: PreviewDevice
-
iPhone Xr
Declaration
Swift
public static var iPhoneXr: PreviewDevice
-
iPad Mini
Declaration
Swift
public static var iPadMini_4: PreviewDevice
-
Declaration
Swift
public static var iPadMini_5: PreviewDevice
-
iPad Air
Declaration
Swift
public static var iPadAir_2: PreviewDevice
-
Declaration
Swift
public static var iPadAir_3: PreviewDevice
-
iPad
Declaration
Swift
public static var iPad_5: PreviewDevice
-
Declaration
Swift
public static var iPad_6: PreviewDevice
-
iPad Pro
Declaration
Swift
public static var iPadPro_9_7: PreviewDevice
-
Declaration
Swift
public static var iPadPro_10_5: PreviewDevice
-
Declaration
Swift
public static var iPadPro_11_1: PreviewDevice
-
Declaration
Swift
public static var iPadPro_11_2: PreviewDevice
-
Declaration
Swift
public static var iPadPro_12_9_1: PreviewDevice
-
Declaration
Swift
public static var iPadPro_12_9_2: PreviewDevice
-
Declaration
Swift
public static var iPadPro_12_9_3: PreviewDevice