Question

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?

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top