PhotoPicker: Using UIImagePickerController to Select Pictures and Take Photos
Version 4.1, 2016-12-21
Added the Camera and Photo Library Usage Description to the app's Info.plist. Updated to iOS 10 SDK. Other miscellaneous changes.
(Full Revision History)
iOS 10.x SDK or later
iOS 9.0 or later
PhotoPicker demonstrates choosing images from the photo library, take a picture with the camera, and customizing the camera view. 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.
Among the custom features of the camera is to take a single picture, timed picture, or repeated pictures like a camera with a fast shutter speed. Timed and shutter speed camera shots are done using the NSTimer class.