Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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.

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 ID.