Вопрос

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