0

Actually I could delete the files from a location like below

/Users/manu/Library/Application Support/iPhone Simulator/6.0/Media/DCIM/100APPLE

But the image is still visible in Photos app. From where is this coming?

How to make a picture available no where in the device?

Manu
  • 4,101
  • 1
  • 17
  • 23

1 Answers1

0

You can't delete files outside of the sandbox of your app. Thus you can't delete photo's from the device.

rckoenes
  • 69,092
  • 8
  • 134
  • 166
  • Is it because it is phonegap? Is there a native plugin for phonegap for this? Can we do it with titanium? – Manu Nov 08 '12 at 03:44
  • No all apps are sandboxed, even native ones. You can access any files outside of you apps sandbox, only via de SDK methods can you access files like photo, music and contacts. But there is not file system access. – rckoenes Nov 08 '12 at 07:44