John Biesnecker
John Biesnecker

Reputation: 3812

Sharing an sqlite database between iPhone apps

Is this possible? Can I copy a database to the user's home directory and then access it with more than a single program? I'm guessing the answer is 'no', as it would make copy and paste pretty trivial, but I thought I'd ask.

Upvotes: 2

Views: 1055

Answers (2)

Justin Gallagher
Justin Gallagher

Reputation: 3232

I was under the impression that two apps with the same top level bundle identifiers (E.G., com.mycompany.xxx and com.mycompany.yyy) could access each other's shared data. I'll see if I can find some documentation from Apple on this...

Upvotes: 0

Sophie Alpert
Sophie Alpert

Reputation: 143134

Nope. This is what OpenClip did (well, not with databases), but 2.1 broke it: http://gizmodo.com/5040509/iphone-21-will-break-openclip-copy-and-paste-between-apps.

Upvotes: 4

Related Questions