Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

Delete screenshots from Gallery

$
0
0
I have made an app on iOS that takes a screenshot and saves it to a persistent data path. I can then use this to share the image. However, once it is shared I want to delete from the device. I use something along the lines of System.IO.File.Delete("/private" + Application.persistentDataPath+"/"+filename); Which seems to delete it from the persistent data path, but it still shows up in the iPads gallery. Any ideas?

Viewing all articles
Browse latest Browse all 4709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>