开发者

Sharing sqlite database between two iphone applications

开发者 https://www.devze.com 2023-02-11 23:41 出处:网络
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 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消