That's not what the documentation says it does. It's called when the user logs 
in or out of iCloud or changes the iCloud account they are logged into. It says 
nothing about enabling or disabling Documents and Data. 

On 30 Mar, 2013, at 11:52 AM, koko <[email protected]> wrote:

> 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 protected])
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/rols%40rols.org
> 
> This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to