How can I design my ios app so that it can be easily updated in the app store, but still allow users to keep their data from previous versions?
I know this has be covered somewhere but I can't find it.
Updating apps on the App Store while retaining user data
Moderators: LCNeil, heatherlaine, kevinmiller, elanorb
-
- VIP Livecode Opensource Backer
- Posts: 858
- Joined: Wed Jun 24, 2009 1:17 pm
- Location: Plymouth, UK
- Contact:
Re: Updating apps on the App Store while retaining user data
Hi permangk
You can store user data (within the iOS 'sandbox') in the 'documents folder - this will not get overwritten when you pump out a later version of your app
There are quite a few ways of going about this, this lesson gives a good starting point: http://lessons.runrev.com/s/lessons/m/4 ... -on-mobile
Let us know if you get stuck - and good luck!
You can store user data (within the iOS 'sandbox') in the 'documents folder - this will not get overwritten when you pump out a later version of your app
Code: Select all
put specialFolderPath("documents") & "/data/" into tTargetDirectory
Let us know if you get stuck - and good luck!
"...this is not the code you are looking for..."
Re: Updating apps on the App Store while retaining user data
Thanks Dave.
The link is very useful, especially as it contains a lot of really detailed stuff on adding database files which will survive an update of the main stack.
I've heard of a technique where the main stack is basically a single card front for the real program and I'd like to find out more.
Is the 'real' stack created as a substack of the dummy front stack or is it also a main stack?
Is this technique explained anywhere?
The link is very useful, especially as it contains a lot of really detailed stuff on adding database files which will survive an update of the main stack.
I've heard of a technique where the main stack is basically a single card front for the real program and I'd like to find out more.
Is the 'real' stack created as a substack of the dummy front stack or is it also a main stack?
Is this technique explained anywhere?
-
- VIP Livecode Opensource Backer
- Posts: 858
- Joined: Wed Jun 24, 2009 1:17 pm
- Location: Plymouth, UK
- Contact:
Re: Updating apps on the App Store while retaining user data
I think what you are referring to is a 'splash stack' - you can use this approach on desktop and mobile, here's a lesson to get you started http://runrev.screenstepslive.com/s/les ... mit=Search
"...this is not the code you are looking for..."