Frage

Does anybody know if there is a way to detect if the current NSUbiquitousKeyValueStore is up to date? For example, if I have turned on the Flight Mode or got no internet connection, iCloud is not able to Sync Data, but how can I tell the user that he is working with maybe old data?

I also tried to handle the NSUbiquitousKeyValueStoreDidChangeExternallyNotification but it doesn't get triggered by failure.

Best regards.

War es hilfreich?

Lösung

I'm not sure about NSUbiquitousKeyValueStore but for iCloud + CoreData there's NO way to know if the data is synced or not. I assume for Key-Value storage it's the same.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top