Core应用之间的核心数据存储共享 [英] Core Data Store Sharing between iPhone Apps

查看:111
本文介绍了Core应用之间的核心数据存储共享的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在同一位开发人员签署的两个不同iPhone应用程式之间共用核心资料储存空间?我想开发一个应用程序,其中一个iPhone应用程序将保存一个数据流,然后可以由其他应用程序读取。这是可能吗?非常感谢!

Is it possible to share a core data store between two different iPhone apps signed by the same developer? I would like to develop an application where one iPhone app will save a stream of data, which can then be read by the other app. Is this even possible? Thanks a lot!

推荐答案

不,这是不可能的。 iPhone应用程序在沙盒中运行,但无法访问其他应用程序数据存储。

No, that's not possible. An iPhone application runs in a sandbox and though doesn't have access to another applications data store.

编辑:

阅读其他人的答案:是的,自定义网址是可能的。是的,有可能与它传输数据,但在我看来,我不建议这个过程传输超过5kb的数据。没有故障安全:没有事务和没有关系。

After reading the others answers here: Yes, Custom URLs are possible. And yes it's possible to transfer data with it, but, I, in my opinion, wouldn't recommend this procedure to transfer more than 5kb of data. There is no failsafe: No transactions and no relations.

这篇关于Core应用之间的核心数据存储共享的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆