NSUbiquityIdentityDidChangeNotification
NSUbiquityIdentityDidChangeNotification
- Subject: NSUbiquityIdentityDidChangeNotification
- From: koko <email@hidden>
- Date: Fri, 29 Mar 2013 21:52:44 -0600
I register for NSUbiquityIdentityDidChangeNotification as shown below.
+ (void)registerForAvailibilityNotification:(id)object
{
MasterViewController *mvc = object;
[[NSNotificationCenter defaultCenter] addObserver: mvc selector: @selector (iCloudAccountAvailabilityChanged:) name: NSUbiquityIdentityDidChangeNotification object: nil];
}
In MasterViewController I have the notification as below
- (void)iCloudAccountAvailabilityChanged:(NSNotification*)notification
{
NSLog(@"iCloudAccountAvailabilityChanged");
}
When I run this on iPad device and change the iCloud settings, turn off Documents and Data, I do not get notified.
Is there something else to be done to receive the notification?
-koko
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden