isAvailable
A Boolean value that indicates whether image generation is available on the current device.
Declaration
@MainActor @objc(available) @preconcurrency dynamic class var isAvailable: Bool { get }Discussion
The value of this property is true when the current device supports image generation. A device might not support this feature if the device or system doesn’t have the resources necessary to generate the images.