A Boolean value that specifies whether the capture device has a torch.
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+Beta
A torch is a light source, such as an LED flash, that is available on the device and used for illuminating captured content or providing general illumination. This property reflects whether the current device has such illumination hardware built-in.
Even if the device has a torch, that torch might not be available for use. Thus, you should also check the value of the
is property before using it.
You can observe changes to the value of this property using Key-value observing.