What i have to use to repeat local notifications weekly in iOS 8?

懵懂的女人 提交于 2019-12-10 17:37:03

问题


I'm new in ios developing and I'm trying to repeat a local notification weekly. I've looked at the documentation WeekCalendarUnit it's deprecated in ios 8. I've searched for a solution here and on the web but i can'f find anything. The only things not deprecated about "week" available in XCode 6 beta 4 are:

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 do what WeekCalendarUnit did. Can i have an elucidation please? All other answers here don't speak about deprecated unit in ios 8. Thanks.

来源:https://stackoverflow.com/questions/24942640/what-i-have-to-use-to-repeat-local-notifications-weekly-in-ios-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!