![]() Updated to iOS 11 SDK, converted to Swift, storyboard changes to support iPhone X. 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. Signed-off-by: Liu Lantao <liulantao@gmail.com> |
||
---|---|---|
.. | ||
PhotoPicker | ||
PhotoPicker.xcodeproj | ||
LICENSE.txt | ||
ReadMe.md |
ReadMe.md
PhotoPicker - Using UIImagePickerController to Select Pictures and Take Photos
This sample demonstrates how to choose images from the photo library, take a picture using 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.
Among the custom features of the camera is to take a single picture, a 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.
Build Requirements
iOS 11.1 SDK or later
Runtime Requirements
iOS 10.0 or later
Copyright (C) 2010-2017 Apple Inc. All rights reserved.