加了today扩展后用appGroup共享数据,添加group后原来工程target的identifier不对了,两个target的bundle id要一样么?
PHPz2017-04-17 17:56:08
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