Contents

isTorchActive

A Boolean value that indicates whether the device’s torch is currently active.

Declaration

var isTorchActive: Bool { get }

Discussion

A torch must be present on the device and currently available before it can be active.

This property is key-value observable.

See Also

Configuring torch settings