UIRemoteNotificationType types = [[UIApplication sharedApplication] enabledRemoteNotificationTypes];
UIRemoteNotificationType allEnableType = UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeBadge ;
UIRemoteNotificationType disableType = UIRemoteNotificationTypeNone ;
if (types == allEnableType) {
// all enable
} else if (types == disableType) {
// all disable
} else {
// some enable
}
Another remote notification type is available after ios 5.0 UIRemoteNotificationTypeNewsstandContentAvailability