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:
- Can I switch on both white LEDs on demand in Swift?
- Is there a way to ensure the amber ones never switch on?
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.