In my app, Push notifications are enabled. Can we know from the app wether the push notification switch in the setting is on or off for the app ?
I am using this code, which its returning 7 every time :
UIRemoteNotificationType types = [[UIApplication sharedApplication] enabledRemoteNotificationTypes];