Open Raka231 opened 2 years ago
Just thought I should add that I don't see this problem in my app;
CropViewCroppingStyleCircular
on iPad seems to call my delegate just fine.
Also I facing issue in Swift No Delegate methods will be call
func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey : Any]) {
guard let image = (info[UIImagePickerController.InfoKey.originalImage] as? UIImage) else { return }
let cropController = CropViewController(croppingStyle: .default, image: image)
//cropController.modalPresentationStyle = .fullScreen
cropController.delegate = self
if picker.sourceType == .camera {
picker.dismiss(animated: true, completion: {
self.present(cropController, animated: true, completion: nil)
})
} else {
picker.pushViewController(cropController, animated: true)
}
}
Describe the bug When I use cropViewController on iPad with cropingStyle circular CropViewController delegate method is not calling.