美呗贤果 发表于 昨天 12:30

谈一谈APPGroups现App之间数据共享要怎么做呢

APPGroups现App之间数据共享要怎么做呢

一、认识App Groups

AppGroup allows data sharing between two different apps or even app and widgets by creating one common shared path (like document directory). Data saved over there can be accessed by any app which is associated with that particular AppGroup. It is an offline data sharing between apps.

这是一段关于App groups的一段说明,告诉我们了App Groups可以使两个不同的APP进行数据共享,看起来这个是解决我们刚才那个问题的好方法。此外扩展( Extension )也需要使用appgroup的相关知识。ATT科技苹果签

二.创建APPGroup
1.登录开发者账号 https://developer.apple.com/account/ios/certificate/development



点击APPGroup那栏,右上方添加APPGroup:



然后确认就行了。

2.创建几个appid



选中App Groups和Network Extensions两项,创建好后,App Groups是色的待配置状态,编辑选中刚刚创建的groupid





3.创建配置文件

这里不多说了,选中group里的任意一个id创建配置文件即可。

ATT科技苹果签

从一些观点来看,苹果签名工具能够较好的带动周边市场的快速发展,是核心的动力。23-3个人站----免费苹果应用IPA一键签名工具官网。https://www.23-3.com/
页: [1]
查看完整版本: 谈一谈APPGroups现App之间数据共享要怎么做呢