How to use NSUbiquitousKeyValueStore and NSUserDefaults together

后端 未结 3 923
太阳男子
太阳男子 2021-01-12 04:36

Documentation is not clear on how to use NSUbiquitousKeyValueStore with edge cases.

If I want to set a value, I understand that I should set a value to

3条回答
  •  滥情空心
    2021-01-12 04:57

    I wrote a simple iOS category that can be used to save a value also into NSUbiquitousKeyValueStore while storing into NSUserDefalt.

    hope this help: https://github.com/RiccardoPaolillo/NSUserDefault-iCloud

提交回复
热议问题