ios app ,after update, load file failed
-
wrote on 25 May 2016, 02:58 last edited by
I save a file In the application sandbox ,under Documents directory。when my application start, it read the file successfully。but after update from app store, it read failed。it becomes to create a new file。I confused, why the file was not backed up,what i did wrong?
-
Hi,
How are you getting the path for your file to be saved ?
-
wrote on 26 May 2016, 01:25 last edited by
I tried 2 ways.
at first,I user this way。
m_Path = QStandardPaths::standardLocations(QStandardPaths::DataLocation).value(0);
m_Path = m_Path + "/myAppName";when I find this problem,I change to another
m_Path = QDir::homePath() + "/Documents" + "/myAppName"; -
When you say you update from the app store, do you mean through TestFlight or is your application already released ?
-
When you say you update from the app store, do you mean through TestFlight or is your application already released ?
-
When you say you update from the app store, do you mean through TestFlight or is your application already released ?
wrote on 27 May 2016, 08:40 last edited bythanks for you reply!
can you help me to see another problem what confused me a long time
https://forum.qt.io/topic/61397/qt5-qopengglwidget-ios -
AFAIK, the files under Documents should be migrated to the new app version.
Out of curiosity, why are you using your application name for that file ?
-
AFAIK, the files under Documents should be migrated to the new app version.
Out of curiosity, why are you using your application name for that file ?
1/8