Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [[NSNotificationCenter defaultCenter] addObserver:self
- selector:@selector(keyValueStoreChanged:)
- name:NSUbiquitousKeyValueStoreDidChangeExternallyNotification
- object:nil];
- LOG(@"sync");
- [[NSUbiquitousKeyValueStore defaultStore] synchronize];
Add Comment
Please, Sign In to add comment