1

In my project I have used self.imagePicker.allowsEditing = true for image cropping. When image taken from gallery it is working fine I can move the image through the rectangle but when image taken directly from camera it is unable to pan image, user can select only the area which appear first time in that rectangle.Like in the given picture top and bottom area can not be selected.

self.imagePicker.allowsEditing      =   true
self.imagePicker.sourceType         =   .camera
self.imagePicker.mediaTypes         =   ["public.image"]
self.imagePicker.cameraCaptureMode  =   .photo
self.imagePicker.sourceType         =   UIImagePickerControllerSourceType.camera
self.present(self.imagePicker, animated: true, completion: nil)

enter image description here

Anju
  • 563
  • 2
  • 6
  • 13

1 Answers1

0

This is what I found. From another thread.

A bug in iOS from 2012, still not fixed! What a pitty!!

Soorej Babu
  • 350
  • 2
  • 19