PreviewPlatform
enum · iOS 13.0+ · Deprecated in iOS 27.0 · SDK 27.1
enum PreviewPlatformPlatforms that can run the preview. Xcode infers the platform for a preview based on the currently selected target. If you have a multiplatform target and want to suggest a particular target for a preview, implement the ``PreviewProvider/platform-75xu4`` computed property as a hint, and specify one of the preview platforms: struct CircleImage_Previews: PreviewProvider { static var previews: some View { CircleImage() } static var platform: PreviewPlatform? { PreviewPlatform.tvOS } }
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
No declarations were skipped in this snapshot.