views:

281

answers:

1

I'm looking for a way to determine if the user has, via settings, enabled or disabled their push notifications for my application.

Thanks.

+7  A: 

call enabledRemoteNotificationsTypes and check the mask.

ex:

UIRemoteNotificationType types = [[UIApplication sharedApplication] enabledRemoteNotificationTypes];
if (types == UIRemoteNotificationTypeNone) 
   // blah blah blah
Zac Bowling
thanks for the quick reply
Kevin