isTorchAvailable
A Boolean value that indicates whether the torch is currently available for use.
Declaration
var isTorchAvailable: Bool { get }Discussion
The torch may become unavailable if, for example, the device overheats and needs to cool off.
This property is key-value observable.