I save my application data IOS with a stack launcher.
I attach the code :
Code: Select all
on openstack
put specialFolderPath("Documents") & "/saving.livecode" into tMainStackPath
if there is not a file tMainStackPath then
put specialFolderPath("engine") & "/saving.livecode" into tOriginalStackPath
put url ("binfile:" & tOriginalStackPath) into url ("binfile:" & tMainStackPath)
end if
go stack tMainStackPath
end openstack
when I do an update of the application, it remembers the old file into the memory.
I need to deleted the app on the iPad to take the new version, but the data is not retained.
How to install an update keeping all the data.
thank you in advance for your answers
Boris