开发者

Provide UIImagePicker with your own UIImage.

开发者 https://www.devze.com 2023-04-08 06:54 出处:网络
I\'m trying to get a downloaded photo that was saved on the device (not photo library), and put that UIImage in a UIImagePickerController so i can crop it (using allowsEditing), as when i would choos

I'm trying to get a downloaded photo that was saved on the device (not photo library), and put that UIImage in a UIImagePickerController so i can crop it (using allowsEditing), as when i would choose it from my own Photo Li开发者_开发技巧brary.

Does anyone know if this is possible in any way but building my own crop-screen ? (would really rather not do it.)

Thanks in advance,
Shai.


To my knowledge, there is no way you can assign an image to UIImagePickerController and make directly open the Move and Scale view.

You have to create your own view controller that acts like Move and Scale and do your cropping there.

0

精彩评论

暂无评论...
验证码 换一张
取 消