Is it possible to dim the light of iPhone’s camera flash light programmatically?
Please let me know.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
iOS5 will help you with this. It is still under NDA. I suggest you look in the beta documentation for AVCaptureDevice or ask on the Apple developer forum.
It is not possible in iOS4.3.
When the NDA is lifted I will edit this response to give the documentation link.
EDIT
Sorry, it looks like Apple removed the ability to change the torch level in the public release of iOS5. The
torchLevelproperty ofAVCaptureDeviceis now read-only.