I've been trying to build a UI that's as similar as possible to the built in iPhone 'camera' app as possible. Necessarily I've been using the UIImagePickerController
class.
It imposes on me two constraints that I wish to overcome...
I'd like to be able to take more than one photo (currently mine takes one then comes to a sudden stop.
I wish to skip the 'photo verification' stage where the photo/movie can be vetted by the user before committing it to the photo library.
Both of these are currently beyond me, and I know they're both possible as 'ClearCam' on the store does it perfectly.
Your clues & boos are all welcome!
You probably wont be able to do it with UIImagePickerController
... However, look at AVFoundation`. You will have much more control over the camera and its actions, and you can use it to take more than one still image at a time with no interruption.
Specifically, look at AVCaptureDevice
, AVCaptureInput
and the subclasses of AVCaptureOutput
. Additionally, AVCaptureStillImageOutput
allows you to grab images from the current camera session asynchronously... I hope this helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With