O'Reilly logo

The Complete Idiot's Guide® To iPad and iPhone App Development by Troy Brant

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the Camera for Pictures and Video

From a developer’s point of view, the name UIImagePickerController can be very misleading. You might think that using UIImagePickerController, you would just be able to, well, pick images. Would you have guessed, though, that the UIImagePickerController is used for the following tasks?
• Picking images from your Camera Roll
• Taking pictures
• Recording video
The following image shows the different flavors of the UIImagePickerController:
414
Setting the sourceType property determines which UIImagePickerController you get.
Let’s see how you can use this class to take pictures and videos.

Initializing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required