GLBasic forum

Main forum => GLBasic - en => Topic started by: Dark Schneider on 2010-Apr-23

Title: iPhone PLATFORMINFO$("DOCUMENTS") destination?
Post by: Dark Schneider on 2010-Apr-23
For save data we need to use the PLATFORMINFO$("DOCUMENTS") command, but I have the question about what folder targets that command, I mean, is it the "DOCUMENTS" iPhone folder or the "APPLICATION DOCUMENTS" folder?. Because if it is the 1st case we would need to create dirs with the App name if not we are writing always in the same location in all apps.
Title: Re: iPhone PLATFORMINFO$("DOCUMENTS") destination?
Post by: bigsofty on 2010-Apr-23
I could be wrong but I don't think you need to worry about it, the "DOCUMENTS" folder is part of your iPhone app. 'sandbox'. Each app. has its own folder and you do not have access to any others?

If you want to do a little snooping, GETCURRENTDIR$() can be interesting.
Title: Re: iPhone PLATFORMINFO$("DOCUMENTS") destination?
Post by: Dark Schneider on 2010-Apr-24
Quoteapp. 'sandbox'

OK, that is all I need to know, thanks.  :good: