The_code_cracker
The_code_cracker

Reputation: 159

capture image from camera automatically after sometime via coding

I want to know that is it possible to capture image from the camera automatically after some time delay i.e setting some user defined timer. So when the timer goes to Zero than the iphone/ipad's camera should capture image.

I know how to open camera and capture image when user click on capture button and save it to photo library but dont have any idea about setting timer.

Is it possible ? Please help me with some links or any reference if it is possible to do.

Upvotes: 0

Views: 1998

Answers (2)

Dipak Makwana
Dipak Makwana

Reputation: 11

Yes it is possible for to capture image from the camera automatically after some time delay.

Follow this steps to do this :

1.Setting some user defined timer

  1. There is a method in UIImagePickerController for taking picture automatically "takePicture"

    So when the timer goes to Zero than call this method.

Thats it.Your problem will be solved.

Upvotes: 0

Related Questions