UIImagePickerControllerReferenceURL always returns nill

后端 未结 3 1666
孤城傲影
孤城傲影 2021-01-05 13:02

I am trying to get the name of the image which I have just captured from camera with following code. But [info objectForKey:@\"UIImagePickerControllerReferenceURL\"]

3条回答
  •  旧时难觅i
    2021-01-05 13:38

    The image that you capture with the camera from within the application has no name. It is always nil. You have to programmatically save that image in the photo gallery and you can save with any name you want.

提交回复
热议问题