如何从uiimagepicker捕获图像后自定义图像

时间:2015-01-16 04:41:43

标签: ios xcode5 uiimagepickercontroller

我需要自定义使用uiimagepickerController从相机中选择图像后的方框  enter image description here

1 个答案:

答案 0 :(得分:1)

UIImagePickerController带有一个方便的方法来启用编辑。

UIImagePickerController *mediaUI = [[UIImagePickerController alloc] init];
[mediaUI setAllowsEditing:YES];

调用此方法应该会有所帮助。