Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想创建简单的应用程序,例如android app。
据我所知,相机属性只有“开”/“关”闪光灯。我可以更改闪光灯亮度吗?也许一些库会帮助我?
你可以从 iOS 6.0 开始。
文档是你的朋友。
您正在寻找的方法是setTorchModeOnWithLevel:error:
还要确保阅读方法描述的讨论部分。并非所有设备都支持设置torchlevel.
torchlevel