调整图像选择器iOS中的编辑矩阵

时间:2014-04-01 15:45:26

标签: ios objective-c uiimageview uiimagepickercontroller cgrect

使用时,有没有办法更改UIImagePickerController的cropRect大小:

imagePickerController.allowsEditing = YES; 

我想根据图像设置自己的宽度和高度。

1 个答案:

答案 0 :(得分:2)

我曾经面对这个问题,当时没有办法改变它(我很确定仍然没有)。

我最终创建了自己的裁剪库。如果我没有弄错,我会使用SSPhotoCropper作为参考。