0

I have implemented Local Notification in my app. The app will remind the user every day about something. I want to give user the option to switch off local notification from settings. How can that be done?

shubhsin
  • 247
  • 2
  • 3
  • 12

1 Answers1

0

when user turn-off loca notification execute below mentioned code.

 UIApplication *app=[UIApplication sharedApplication];
 [app scheduleLocalNotification:nil];
shesh nath
  • 26
  • 3