Sharing sqlite database between two iphone applications

后端 未结 3 1939
余生分开走
余生分开走 2021-01-25 23:27

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

相关标签:
3条回答
  • 2021-01-25 23:44

    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 讨论(0)
  • 2021-01-25 23:46

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

    0 讨论(0)
  • 2021-01-25 23:53

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

    0 讨论(0)
提交回复
热议问题