Using UIImagePickerController to Select Pictures and Take Photos
Version 2.0, 2013-05-29
Updated to use ARC and storyboards. Application architecture simplified.
(Full Revision History)
Xcode 4.6 or later, iOS 6.0 SDK or later
iOS 6.0 or later
PhotoPicker demonstrates how to choose images from the photo library, take a picture with the device's camera, and how to customize the look of the camera's user interface. This is done by using UIImagePickerController. The chosen image or camera photo is displayed in a UIImageView. To customize the camera's interface, this sample shows how to use an overlay view. With this overlay view it gives you the ability to customize the UI as you take a picture.