سؤال

I want create simple application such as android app.

Camera properties have only "on" / "off" flash as i known. Can i change flash brightness? Maybe some libs will help me?

هل كانت مفيدة؟

المحلول

You can from iOS 6.0 on.

Documentation is your friend.

The method you are looking for is setTorchModeOnWithLevel:error:

Also make sure to read the discussion part of method description. Not all devices support setting the torchlevel.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top