Reputation: 2625
I think it's a dumb question ; anyways, to clear any possible assumption, I will ask it : I have 2 iOS apps : one free version and another paid version. Say, the user is using the free version, which has some SQLite tables in the device. Now, the user installs the paid version of the App (not an in-App purchase, but a separate paid version) ; now, can this newly installed paid version access the sqlite data of the free app, which is already in the device?
Upvotes: 1
Views: 307
Reputation: 318794
Apps can not directly access the data of other apps. However, in a case like yours, you can write both apps to access a common UIPasteboard
. Combined with each app having a custom URL scheme, there is a way to allow you write your free/paid apps so you can transfer the data between the two apps.
Here is an outline of the process:
The paid app should have a custom scheme of something like "myapppaid" and the free version should have a custom scheme of "myappfree".
Upvotes: 2
Reputation: 11754
With it just associated with the app, then no not directly as it only exists within the application sandbox which is available only to the application. If it's available via iCloud then you should be able to, as that's how a few apps have managed 'upgrades' when they've realised new standalone versions.
Upvotes: 0