开发者

Take Photos Automatically - iPhone

开发者 https://www.devze.com 2023-02-10 01:55 出处:网络
I\'m trying to perform the task of taking a picture, but triggered by code instead of relying on the touching of the camera but开发者_Go百科ton in UIImagePickerController. Can this be done? I want to

I'm trying to perform the task of taking a picture, but triggered by code instead of relying on the touching of the camera but开发者_Go百科ton in UIImagePickerController. Can this be done? I want to take a 10 pictures, 1 per second.


As answered here, check out Apple's AVCam sample. It shows how to get both still images and video from the camera.


You should look into the AVFoundation framework -- that makes it pretty easy to do.

0

精彩评论

暂无评论...
验证码 换一张
取 消