supportedViewingModes(for:)
The viewing modes supported by the provided image source.
Declaration
static func supportedViewingModes(for imageSource: CGImageSource) -> Set<ImagePresentationComponent.ViewingMode>Discussion
The returned set of viewing modes will never include the .spatial3D or .spatial3DImmersive viewing modes, which are only supported when initializing an ImagePresentationComponent with a Spatial3DImage.