ImagePickerEasy
A very simple solution to implement UIImagePickerController() in your application.
Requirements
Swift 4.2 and above
Installation
ImagePickerEasy is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'ImagePickerEasy'
Usage
import ImagePickerEasy
// A simple and easy method to pick images from your camera and gallery
ImagePickerEasy.shared.present(from: sender as! UIView, vc: self) { image in
if image != nil{
self.mImageView.image = image
}
}
Author
wajeehulhassan, [email protected]
License
ImagePickerEasy is available under the MIT license. See the LICENSE file for more info.