identifierForVendor changes on reinstall

前端 未结 3 1424
耶瑟儿~
耶瑟儿~ 2020-12-24 09:19

identifierForVendor is not supposed to change on reinstall of app:

The value in this property remains the same while the app (or anot

3条回答
  •  醉酒成梦
    2020-12-24 09:23

    We are about to resubmit using an App Group entitlement to give us shared NSUserDefaults. It sounds like App Group NSUserDefaults (unlike keychain-access-group and iCloud key-value storage entitlements) are shared on the device, but not over the iCloud account. If the shared "deviceid" NSUserDefault key doesn't exist, we'll save the IdentifierForVendor ID and then use that for all our apps once it saved.

提交回复
热议问题