3

While saving image to camera roll what uri should be given to the the 'tag' to save to camera roll.

I tried to give the path of camera roll as asset-library://asset/

but throws an error saying Could not find asset with UUID (null)

Aakash Sigdel
  • 9,060
  • 5
  • 33
  • 38

1 Answers1

0

It's actually expecting the uri of an image asset. So the method seems to only be able to update existing assets. Try deploying your app with a placeholder image and then have the app update it. Remember to pass in the placeholder image's uri.

Harry Moreno
  • 10,231
  • 7
  • 64
  • 116
  • But how will I put the placeholder image in the cameraroll? If I put the image in any other place, I don't suppose it will be a valid tag for `saveImageWithTag()` @harry-moreno – Aakash Sigdel Dec 14 '15 at 08:52