Tutorial :Sharing an sqlite database between iPhone apps



Question:

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.


Solution:1

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.


Solution:2

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...


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »