本文介绍了自动拍照 - iPhone的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试执行拍照任务,但由代码触发,而不是依赖于 UIImagePickerController 中的相机按钮的触摸.这可以做到吗?我想拍 10 张照片,每秒 1 张.
I'm trying to perform the task of taking a picture, but triggered by code instead of relying on the touching of the camera button in UIImagePickerController. Can this be done? I want to take a 10 pictures, 1 per second.
推荐答案
你应该研究一下 AVFoundation 框架——它很容易做到.
You should look into the AVFoundation framework -- that makes it pretty easy to do.
这篇关于自动拍照 - iPhone的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!