I want to disable camera flash.
How can I do that?
Any help will be appreciated
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.
If you are setting your camera capture session with AV Foundation:
Tell the AVCaptureDevice to lockForConfiguration, then tell it to setFlashMode
Read the documentation since this is a very simple task.
http://developer.apple.com/library/ios/#DOCUMENTATION/AudioVideo/Conceptual/AVFoundationPG/Articles/00_Introduction.html#//apple_ref/doc/uid/TP40010188
Edit: What you are looking for is explicitly written under the “media capture” section from the link I posted.