0

I am developing an app which accepts push notifications. I want to disable the push notifications for that app only by just toggling UISwitch in the app settings. So is it possible that I can enable or disable the push notifications from the app itself?

rmaddy
  • 307,833
  • 40
  • 508
  • 550
TechChain
  • 7,802
  • 26
  • 94
  • 211
  • possible duplicate: http://stackoverflow.com/questions/10510578/enable-or-disable-iphone-push-notifications-inside-the-app – Surely Dec 03 '15 at 15:10

1 Answers1

0

Yes, it is possible. Please take a look on registerForRemoteNotifications and unregisterForRemoteNotifications methods (link)

Oleshko
  • 2,393
  • 3
  • 16
  • 24