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
  • 314,917
  • 42
  • 532
  • 579
TechChain
  • 8,404
  • 29
  • 103
  • 228
  • 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,923
  • 4
  • 17
  • 25