Log in or register to post comments

Where does iOS STORAGE_APP point to?

June 6, 2014 - 8:01pm #1

Hello,

I am downloading a marker configuration files (.XML and .DAT) and storing them to the app Documents folder (NSDocumentDirectory) and then trying to load it using the STORAGE_APP option of a DataSet. The problem is that either exists or load fail. Where does Vuforia API look for files if STORAGE_APP is specified on iOS?

Thanks you in advance.

Where does iOS STORAGE_APP point to?

June 10, 2014 - 12:55pm #2

If STORAGE_APP maps to the folder of the iOS app binary, then you may want to specify that the file is in the "Documents" folder. You can also try STORAGE_APPRESOURCE to see if it maps directly to the "Documents" folder.

exists("./Documents/filename.xml", STORAGE_APP);
exists("filename.xml", STORAGE_APPRESOURCE);
 

Log in or register to post comments