For my application, I use the iCloud key value store to store some user settings. It syncs perfectly between my iPad and iPhone when both have the app installed. My problem is that when I uninstall the application and I launch it fresh, it does not have any settings from iCloud in FIRST TIME, I launch it. After I started it again, although it did not have settings for the first time, it has them.
I used some NSLogs to see what it sees in the key-value container, and the first time it launches the application, it says β(null)β, but on subsequent launches it returns the NSArray that was saved earlier.
I gladly provided the code, but I'm not quite sure what is relevant here.
I would be grateful for any help, this problem is driving me crazy ...
source
share