OK, so I saw several messages saying that you cannot set UILocalNotification to repeat more or less than a few given parameters (every minute / hour / day / week / month, etc.).
However, none of these messages indicated which repeatInterval setting repeatInterval from UILocalNotification to NSWeekdayCalendarUnit .
I am very new to all NSDate and NSCalendar stuff, so I'm sure something is missing, but I read the documentation and it looks like you can use NSWeekdayCalendarUnit to repeat NSLocalNotification let's say every Monday, Tuesday and Thursday if NSWeekdayCalendarUnit set to 2 , 3.5.
NSWeekdayCalendarUnit Indicates the block of the week. The corresponding value is int. Equals kCFCalendarUnitWeekday. Weekday units are numbers from 1 to N (where for the Gregorian calendar, N = 7 and 1 is Sunday).
Is this wrong?
Thanks in advance.
source share