Bhagyashree Dayama
Bhagyashree Dayama

Reputation: 137

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, Bhagyashree Dayama

Upvotes: 0

Views: 1145

Answers (3)

k-thorat
k-thorat

Reputation: 5123

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.

Upvotes: 0

ipraba
ipraba

Reputation: 16553

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

Upvotes: 3

Dre
Dre

Reputation: 4329

No. There is no way to access files outside your applications sandbox.

Upvotes: 1

Related Questions