How to get the edited image from UIImagePickerController in Swift?

前端 未结 5 599
北荒
北荒 2021-02-09 03:11

I have seen and read the documents of Apple where they have clearly mentioned about the key UIImagePickerControllerEditedImage. But when I am running my following code, I am no

5条回答
  •  梦如初夏
    2021-02-09 03:38

    Make sure you allowed to editing image in UIImagePickerController.

    You can allow UIImagePickerController to edit the UIImage by making this

    picker.allowsEditing = true

提交回复
热议问题