Reputation: 5667
I have my apps using NSDocumentsDirectory
for saving the downloads & offline data on device. From debugging point of view, I was debugging as usual on simulator & was trying to access the path for these downloads & I was able to do that. I have my doubts as :
/var/mobile/Applications/SOME-HEX-CODED-PATH/Documents/
via terminal
that was shown in the NSDocumentsDirectory
paths during debugging on device. Whereas in iOS Simulator I am able to open
, read/ write
at that location./var/mobile
directory as it is not listed in the finder, not even as hidden directory.Is that directory is mounted on runtime ?
Please clarify.
Upvotes: 0
Views: 72
Reputation: 1491
I am not sure to fully understand your question. You want to access, from your laptop, the filesystem of your device?
You are not supposed to do that on a regular device at least. If you want to browse your documents directory do it through the organiser (Window/Organiser) and then "devices" tab and select your device and your app. You will be able to see your sandboxed filesystem in the bottom part and downloaded its content.
Upvotes: 1