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:
Setting the sourceType property determines which UIImagePickerController you get.
Let’s see how you can use this class to take pictures and videos.

Initializing ...

Get The Complete Idiot's Guide® To iPad and iPhone App Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.