0

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];
rdurand
  • 7,342
  • 3
  • 39
  • 72
Ankur
  • 98
  • 2
  • 13

0 Answers0