在应用程序上的许多用户之间共享核心数据 [英] share core data between many users on app

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

问题描述

我想为许多用户开发一个iOS应用程序作为平台。是否可以让我的应用程序的多个用户共享同一个核心数据数据库上的资源?

I wanna develop an iOS app as the platform for many users. Is it possible to enable multiple users of my app to share resources on the same core data database?

推荐答案

iCloud URL 的帮助下在iPhone上使用自定义网址方案
但它有一些阴暗面。如果你使用自定义url方案,只有一个应用程序拥有的数据。其他应用程序将必须从主应用程序导入数据。

yes This can be done using a custom url scheme on the iphone by help of iCloud URL. but it has some dark sides.If you use a custom url scheme, only one application "owns" the data. The other application would have to import data from the main application.

另一种方法是系统粘贴板即剪贴板。你可以把东西放在它,然后启动另一个应用程序的URL告诉其他应用程序检查粘贴板。还有系统粘贴板。

another method is system pasteboard i.e. clipboard. you can put stuff on it and then launch another application with a URL that tells the other app to check the pasteboard.There's also the system pasteboard .

有关自定义网址方案查看此链接

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

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