ios - todayExtension设置appGroup后identifier不对
PHP中文网
PHP中文网 2017-04-17 17:54:08
0
1
623

加了today扩展后用appGroup共享数据,添加group后原来工程target的identifier不对了,两个target的bundle id要一样么?

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
PHPzhong

The bundle IDs of the two targets must be different and require their own provisioning profiles. The Group IDs of the shared data of the two targets need to be consistent, which is also what NSUserDefaults *shared = [[NSUserDefaults alloc] initWithSuiteName:group id]is used here

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template