1

I'm using UIImagePickerController for profile image and the original image wasOriginal Image

Now, I'm editing the image in UIImagePickerController asScreenshot while edited/cropping in UIImagePickerController

But, the editedImage frame from the UIImagePickerController is slightly different from the image frame what I croppedThe edited image from <code>UIImagePickerController</code>

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?

Harsha
  • 760
  • 1
  • 7
  • 21

2 Answers2

2

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.

Scriptable
  • 19,402
  • 5
  • 56
  • 72
1

I came across this issue and the only solution I found is to make your own crop functionality. Nothing else works.

Fawad Masud
  • 12,219
  • 3
  • 25
  • 34