WantToKnow
WantToKnow

Reputation: 1797

How to access local data in new apps from previously deleted app

User's profile in application include some data (like history in browser or tweets in twitter).

I want to use it in new application, but user can delete old application.

What can help me to save this data without losing it when old application will be deleted and get this data when new application will be installed?

Maybe there is some ways to save data in IPhone files, but I don't want user to see it.

Thanks

Upvotes: 2

Views: 161

Answers (2)

Marcus Adams
Marcus Adams

Reputation: 53830

You can save data in iCloud. Your applications can share iCloud data as long as they have the same bundle identifier prefix.

Alternatively, you can sync this data with your own (web) server.

It's up to you to write this functionality in your apps.

There is currently no shared document space on iOS. Each application is contained within a sandbox and cannot access documents stored in another application. Documents can be shared through URL schemes, but this has to be launched from the originating app to the destination app (both apps must be installed at the same time).

Upvotes: 2

chandan
chandan

Reputation: 2453

You can use iCloud data saving . iCloud uses

What happens quite easily after a restore (for example after an update) is that iTunes restores the save data for all applications, but not the applications themselves. Therefore as soon as you install them , the old save data will be available (this applies to all apps, not just games). Just by itself nothing will be saved without backup.

Upvotes: 0

Related Questions