objective-c - IOS 重复通知提醒 。如何在工作日提醒
大家讲道理
大家讲道理 2017-05-02 09:32:01
0
0
658

我需要在每个周一到周五提示。其他时间不提示。但是在NSCalendarUnit中没有找到相关的。

    NSCalendarUnitEra                = kCFCalendarUnitEra,
    NSCalendarUnitYear               = kCFCalendarUnitYear,
    NSCalendarUnitMonth              = kCFCalendarUnitMonth,
    NSCalendarUnitDay                = kCFCalendarUnitDay,
    NSCalendarUnitHour               = kCFCalendarUnitHour,
    NSCalendarUnitMinute             = kCFCalendarUnitMinute,
    NSCalendarUnitSecond             = kCFCalendarUnitSecond,
    NSCalendarUnitWeekday            = kCFCalendarUnitWeekday,
    NSCalendarUnitWeekdayOrdinal     = kCFCalendarUnitWeekdayOrdinal,
    NSCalendarUnitQuarter            NS_ENUM_AVAILABLE(10_6, 4_0) = kCFCalendarUnitQuarter,
    NSCalendarUnitWeekOfMonth        NS_ENUM_AVAILABLE(10_7, 5_0) = kCFCalendarUnitWeekOfMonth,
    NSCalendarUnitWeekOfYear         NS_ENUM_AVAILABLE(10_7, 5_0) = kCFCalendarUnitWeekOfYear,
    NSCalendarUnitYearForWeekOfYear  NS_ENUM_AVAILABLE(10_7, 5_0) = kCFCalendarUnitYearForWeekOfYear,
    NSCalendarUnitNanosecond         NS_ENUM_AVAILABLE(10_7, 5_0) = (1 << 15),
    NSCalendarUnitCalendar           NS_ENUM_AVAILABLE(10_7, 4_0) = (1 << 20),
    NSCalendarUnitTimeZone           NS_ENUM_AVAILABLE(10_7, 4_0) = (1 << 21)
    
大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

全部回复(0)
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责声明 Sitemap
PHP中文网:公益在线PHP培训,帮助PHP学习者快速成长!