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.