문제

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