0

My app contain a uiswitch that give the user an option to disable/enable notIfication of my iphone app So i need code of disable/enable notification, Thanks

Rachel Gallen
  • 27,943
  • 21
  • 72
  • 81
Miss.f
  • 5
  • 1
  • Did you read the Appl guidelines: https://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction.html – Franck May 12 '13 at 19:00
  • check this similar question http://stackoverflow.com/questions/10510578/enable-or-disable-iphone-push-notifications-inside-the-app – Ayrad May 12 '13 at 19:00

1 Answers1

0

call registerForRemoteNotificationTypes (enable) or unregisterForRemoteNotificationTypes (disable)

Rachel Gallen
  • 27,943
  • 21
  • 72
  • 81