I want to find out if the user already enabled the pus notification,How to do this ?
I have tried with this..
UIRemoteNotificationType types = [[UIApplication sharedApplication] enabledRemoteNotificationTypes];
if (types == UIRemoteNotificationTypeNone){
NSLog(@"Push is off");
}
But its not working and "types" always gives the value "7"