How make a ImageCropper like Instagram with Swift 3
Aatish Rajkarnikar
142

I noticed, it’s when I try to get a `CGIImage` it occurs, so I did:

let croppedCGImage = loadedImage.cgImage?.cropping(to: visibleImgRect)
let croppedImage = UIImage(cgImage: croppedCGImage!, scale: 1.0, orientation: UIImageOrientation.right)
Show your support

Clapping shows how much you appreciated ابوبخر اولاديجي ✪’s story.