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.
精彩评论