How make a ImageCropper like Instagram with Swift 3
Aatish Rajkarnikar

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)
Like what you read? Give ابوبخر اولاديجي ✪ a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.