Possible Duplicate:
How to set Local Notification repeat interval to custom time interval?
I want to repeat local notification for custom time interval(like 2 hours ,3 hours).
I know how to use repeatInterval for local notification. but by using that i can i can repeat notification for hour ,day ,week .
I want to repeat interval for random hours .
You can’t do custom intervals. But what you can is create a loop to add
UILocalNotificationafter a custom interval for a given time.You always need to remove all notifications before and then readd them, or your users will get each notification x times.
The problem with this is a) it’s not performance-friendly and b) if you add custom intervals for the next 2 weeks the user is forced to open your app to recreate the notifications.
UPDATE: