TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Oct 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Srinija Ammapalli.
Minimum iOS Version: 8.0
For manual installation, drag and drop the files in SwiftCamScanner/Classes into your project.
To setup the cropping area, add a UIView to your storyboard and assign constraints. Set its class to ‘CropView’ and module to ‘SwiftCamScanner’
import SwiftCamScanner
@IBOutlet weak var cropView: CropView!
cropView.setUpImage(image: imageName)
cropView.cropAndTransform{(croppedImage) in
//Use the cropped Image
}
An example project is included with this repo. To run the example project, clone the repo, and run pod install
from the Example directory.
Srinija Ammapalli
SwiftCamScanner is available under the MIT license. See the LICENSE file for more info.