Sharing sqlite database between two iphone applications
I want to share my sqlite database between two iphone applications In one application i am reading and writing into that database and in another I am reading that data
Can we do this in iphone? And if yes How?
Appreciate any help...
Thanks, B开发者_运维问答hagyashree Dayama
iPhone Apps are sandboxed.. In simple terms If you create/Install a App, a folder will be created where all your files will be stored. In your case you will have your DB inside that folder.. Your app cannot access anything outside its folder. The same way Another App cannot access your Apps files..
So the answer for your question will be NO..
No. There is no way to access files outside your applications sandbox.
As everybody saying my answer is also NO.. but you can achieve the database sharing having a common database at the server and then syncing it on the both local applications.
精彩评论