Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to take multiple pictures before dismissing camera picker

I want to be able to present the camera picker, and take multiple pictures before dismissing the modal view. I would also like to display how many pictures the user has taken before the view is dismissed. Is this possible? I'm aware that I would have to use an overlay for the image count, but I don't know how to take multiple pictures before dismissing it. I can't seem to find any information on it. Thanks.

like image 540
Alex Avatar asked Sep 10 '11 14:09

Alex


2 Answers

Take a look at takePicture method of UIImagePickerController which programatically initiates still image capture.

You can initiate additional captures after receiving imagePickerController:didFinishPickingMediaWithInfo: delegate callback.

Hope it helps.

like image 76
Rafa de King Avatar answered Nov 18 '22 12:11

Rafa de King


PhotoPicker is a sample project provided by Apple which does exactly what you are talking about. It even allows you to make your own custom OverlayViewController to display the extra features. Hope that Helps!

like image 42
msgambel Avatar answered Nov 18 '22 14:11

msgambel