Similar question to this one but for the iPhone 7.
The iPhone 7 has 2 amber LEDs and 2 white LEDs. When you turn on the torch only 1 of the LEDs turns on. The amber ones turn on intermittently when using the camera in my app (I seem to have no control over this).
So I have 2 questions really:
EDIT
I have already checked AVCaptureDevice
and related (whatever is documented), so hoping someone there is someone who has looked under the bonnet and perhaps found another way.
There is no public API method that allows for controlling the exact LED operation on an iPhone. There is only a flashMode
property available for AVCaptureDevice
, with three possible values: on
, off
, and auto
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With