is there any way to connect between 2 applications ? for example i create dictionary database for weDict application , and is it possible move the database from my app to weDict app folder ?
I don't think that is possible the way you put it. You would have to create a service and store the info in a centralized location.
This is because every app is bound to it's on "sandbox" folder.
Apple似乎不允许这样做,因为例如,如果一个应用程序可以修改另一个应用程序的数据,则它可能会写入错误的数据,从而使另一个应用程序处于“损坏”状态。
Implement a server in one app and a client in the other (utilize TCP, s/b able to use localhost). Connect the client to the server, transfer the data, instantiate the DB, fini.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.