UIImagePickerController for camera and photo library
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ProfilePicker.xcodeproj Changes in imagePickerControllerDidCancel function Sep 15, 2018
ProfilePicker Changes in imagePickerControllerDidCancel function Sep 15, 2018
Preview.gif Add files via upload Dec 11, 2017
README.md Update README.md Dec 12, 2017
plistImage.jpg Add files via upload Dec 11, 2017

README.md

ImagePicker

UIImagePickerController for camera and photo library

Preview:

Preview

Declare var imagePicker = UIImagePickerController() and conform the delegates UIImagePickerControllerDelegate, UINavigationControllerDelegate

You need to ask the use permission before access the camera, do this by adding usage key Privacy - Camera Usage Description to your app’s Info.plist together with a purpose string.

plist