You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// create cropper instance
let cropper = UIImageCropper(cropRatio: 2/3)
// give image to cropper which needs cropping
cropper.image = UIImage(named: "myImage")
// present the cropper on top of your view controller
viewController.present(self, animated: true, completion: nil)
...
// Get the cropped image from delegate method
func didCropImage(originalImage: UIImage?, croppedImage: UIImage?) {
// croppedImage
}
I need to crop the image after capturing it with the camera, not using the picker
The text was updated successfully, but these errors were encountered: