gpt4 book ai didi

ios - 修改 iPhone 相机/手电筒?

转载 作者:行者123 更新时间:2023-11-30 12:42:43 26 4
gpt4 key购买 nike

我想知道是否可以修改 iPhone 的拍照方式。具体来说,如果您可以关闭在全闪光之前显示的调光对焦闪光灯,那么当您拍照时,就会立即亮起全闪光灯。谢谢!

最佳答案

不幸的是,不,我认为不是。来自 apple developer site :

Flash Modes

There are three flash modes:

AVCaptureFlashModeOff: The flash will never fire. AVCaptureFlashModeOn: The flash will always fire. AVCaptureFlashModeAuto: The flash will fire dependent on the ambient light conditions. You use hasFlash to determine whether a device has a flash. If that method returns YES, you then use the isFlashModeSupported: method, passing the desired mode to determine whether a device supports a given flash mode, then set the mode using the flashMode property.

并且没有提及调光闪光灯。

编辑:也许你可以。有很多 iOS 应用程序可以执行此操作

第二次编辑:查看 this 后,我的结论是你不能这样做。

关于ios - 修改 iPhone 相机/手电筒?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42046876/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com