##mjCamera A light weight & simple & easy camera for iOS by Swift.
###Installation & Requirements
This project requires Xcode 8 to run and compiles with swift 3.0
CameraViewController is available on CocoaPods. Add the following to your Podfile:
pod 'mjCamera'
###Usage
To use this component couldn't be simpler. Add import CameraViewController to the top of you controller file.
let cameraViewController = CameraViewController(albumName: "mjCamera", saveToPhoneLibrary: true) { success, image, asset in
if success {
} else {
guard let _ = image else { //cancel
self.dismiss(animated: true, completion: nil)
return
}
// When the last photo button is clicked
}
}
present(cameraViewController, animated: true, completion: nil)
###License mjCamera is released under the MIT license. See LICENSE for details.