Question

Is there any way to change the cropRect size for UIImagePickerController when using:

imagePickerController.allowsEditing = YES; 

I want to set my own width and height depending on the image.

Était-ce utile?

La solution

I was faced with that issue a while back and at the time there was no way of changing it (I'm pretty sure there still isn't).

I ended up creating my own cropping library. If I'm not mistaken I made use of SSPhotoCropper as a reference.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top