Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top