Reputation: 818
I'm using UIImagePickerController
for profile image and the original image was
Now, I'm editing the image in UIImagePickerController
as
But, the editedImage
frame from the UIImagePickerController
is slightly different from the image frame what I cropped
If you can compare the the images, during cropping and after cropping, there I cropped the image upto text "GIVE", but in the final image it has text "NEVER". Is there any properties I need to change in UIImagePickerController
to get correct image as cropped or it is default from the OS itself?
Upvotes: 1
Views: 88
Reputation: 12344
I came across this issue and the only solution I found is to make your own crop functionality. Nothing else works.
Upvotes: 1
Reputation: 19750
It is a known issue that has been there for a number of years now.
We dedicated a lot of time to investigating the issue in work but found even with a MVCE the issue occurs.
We also found a Radar link from iOS 8: https://openradar.appspot.com/18957593
We replicated the issue in iOS 9, 10, 11 and 12.
Upvotes: 2