How to turn on camera light (make a flashlight) on iPhone/iPad?

Hi everyone,

I was wondering if I can turn on camera light on my iPhone? Does Unity support that kind of action?

I found something about that on the internet, but they don’t explain anything about the process or java scripting in unity, and i also didn’t find anything in script references.


Vuforia’s CameraDevice supports turning on the camera light on the iPhone, ut might be a bit of overkill :slight_smile: - But it is free.

Hey Milena,
Could you possible share how you set up the button on / off and called up the Qualcomm script? bit of a noob here, but I’d love to learn from how you made it work!