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.
Asked
Active
Viewed 3,361 times
1
-
Yes, this can be done. And there is already an app for taking photos automatically, do a search in the app store with the keyword, **SneakyPix** – Di Wu Feb 11 '11 at 06:21
-
@diwup I am developing my own app for a completely different purpose than taking pictures. – SamB Feb 11 '11 at 07:09
2 Answers
2
As answered here, check out Apple's AVCam sample. It shows how to get both still images and video from the camera.

Community
- 1
- 1

davehayden
- 3,484
- 21
- 28
1
You should look into the AVFoundation framework -- that makes it pretty easy to do.

user491880
- 4,709
- 4
- 28
- 49
-
For anyone else reading this, Apple has documented [AV Foundation Media Capture](http://developer.apple.com/library/ios/#documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/03_MediaCapture.html#//apple_ref/doc/uid/TP40010188-CH5-SW2) – SamB Feb 11 '11 at 07:10