Reputation: 1082
I know this question ask several time. Even i am trying this below code:
http://iphonesdkdev.blogspot.in/2010/04/local-push-notification-sample-code-os.html
Still I am not able to play alarm at particular time interval. I have date-time picker. User select time from that date-time picker, which contain time from 1 min to 23 hours.
In my app alarm works but only one time. I need to play that alarm till user does not stop that timer switch from on to off.
Please Help me. Any idea and suggestion is Appreciated!!!!
Upvotes: 1
Views: 628
Reputation: 31091
You can set RepeatInterval
for your localNotification
[localNotification setRepeatInterval:NSMinuteCalendarUnit];
you can set its repeat interval according to you, it would be minute, hours, day,month, year.
Upvotes: 1