I want to customize the repeat interval of a UILocalNotification
to be on certain days of the week. I haven't found any information about this.
How can I program the repeat interval for notifications for certain days of the week, for example, repeat a notification on Sunday, Monday, and Friday?
If you need to custom
repeatInterval
property. You have to setup eachUILocalNotification
on specify time. here is my codes.Unfortunately you cannot set the
repeatInterval
property ofUILocalNotification
to repeat only on particular days. You can set either repeat daily (every day), monthly (every month) or hourly (every hour). So the only feasible solution for your question is that if you want to set an alarm on Sunday, Monday and Tuesday then you have to set 3 alarms (one each for Sunday ,Monday and Tuesday) rather than one alarm.