search

Home  >  Q&A  >  body text

ios - todayExtension设置appGroup后identifier不对

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

PHP中文网PHP中文网2772 days ago628

reply all(1)I'll reply

  • PHPz

    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

    reply
    0
  • Cancelreply