Sometimes writing to iCloud does not happen. What am I missing?

I have two classes with identical parallel code writing key-value data to the cloud. One works well. The other goes through the code, but somehow does not seem to write to the cloud - at least I cannot retrieve it. I must be missing something. Here is the code:


NSUbiquitousKeyValueStore *kvStore = [NSUbiquitousKeyValueStoredefaultStore];

[kvStore setString:cloudString9 forKey:name1];

[kvStore synchronize];

NSLog(@"PersonViewController - WRITING UPDATE TO CLOUD - key = %@, value = %@", name1, cloudString9);


The log comes up and contains the expected string values. Any suggestions? Thanks.

iPad, iOS 5.1.1

Posted on Jan 5, 2013 6:37 PM

Reply

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Sometimes writing to iCloud does not happen. What am I missing?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.