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.
实际上,问题就在问题的标题中。
在AVCaptureDevice中有一个属性 - 焦点模式。UIImagePickerController中没有这样的东西。
所以问题是如何在 UIImagePickerController 中管理焦点设置?
您可以像在标准相机应用程序中一样通过点击屏幕来设置手动对焦。相机应用程序没有的任何其他焦点设置都不可用(至少以合法方式)。