tags:

views:

407

answers:

3

How can i use it takePicture method to programatically capturing image.I want to take picture after 5 sec or want to set a timer on camera.Is it possible ti take picture without press take button.

+1  A: 

Hi There is a good tutorial on this here.

http://www.zimbio.com/iPhone/articles/1109/Picking+Images+iPhone+SDK+UIImagePickerController

Rambo
A: 

Is anybody actually helping here? I've found the bit in the UIImagePicker's view structure…. the UIControl for taking the picture is at subview /0/0/0/0/2/0/1/1/0 (3.0)

Anybody wanna help here?

steake
A: 

As of OS 3.1, you can definitely do this, using the takePicture method. You can hide the normal camera controls with the showsCameraControls property. So you can do exactly what you want, just set a timer or use some other UI, and then call takePicture in your timer callback. The one confusing thing I've seen is that if you call it "too soon" when the image picker isn't quite ready it appears to fail silently.

David Maymudes