What should I use to repeat local notifications weekly in iOS 8?

I am new to ios development and I try to repeat local notification weekly. I looked at the WeekCalendarUnit documentation, which it is deprecated in ios 8. I searched for a solution here and on the Internet, but I can not find anything. The only things that are not outdated regarding the "week" available in Xcode 6 beta 4 are as follows:

static var CalendarUnitWeekday: NSCalendarUnit { get }
static var CalendarUnitWeekdayOrdinal: NSCalendarUnit { get }
static var CalendarUnitWeekOfMonth: NSCalendarUnit { get }
static var CalendarUnitWeekOfYear: NSCalendarUnit { get }

but I don’t think they are doing what WeekCalendarUnit did. May I have a clarification, please? All other answers here do not talk about obsolete units in ios 8. Thank you.

+4
source share

No one has answered this question yet.


All Articles