Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top