Reputation: 23
I want to disable camera flash.
How can I do that?
Any help will be appreciated
Upvotes: 2
Views: 2941
Reputation: 13459
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.
Edit: What you are looking for is explicitly written under the "media capture" section from the link I posted.
Upvotes: 5