For my app, I use iCloud key value storage to store some user settings. It syncs perfectly between my iPad and iPhone when both have the app installed. My issue is that when I delete the app, and I run it fresh, it doesn't have any of the settings from iCloud the FIRST TIME I run it. After I run it again, even though it didn't have the settings the first time, it has them.
I used some NSLogs to see what it sees in the key-value container, and the first time the app runs fresh it says "(null)", but any subsequent runs it prints out the NSArray that was saved previously.
I'll gladly provide code, but I'm not entirely sure what is relevant here.
I'd appreciate any help, this issue is driving me crazy...