Sharing data between an iOS 8 share extension and main app

后端 未结 8 499
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-28 20:08

Recently, I\'ve been making a simple iOS 8 share extension to understand how the system works. As Apple states in its App Extension Programming Guide:

<
8条回答
  •  死守一世寂寞
    2020-11-28 20:52

    So apparently it works, only when the group name is used as the suite name for NSUserDefaults.

    The documentation says NSUserDefaults.standartUserDefaults() should also work but it does not, and this is probably a bug.

提交回复
热议问题