首页 文章

本地通知自定义时间间隔

提问于
浏览
0

我已经用提醒间隔击中了障碍物 . 本地通知似乎只将NSCalendarUnit常量作为重复间隔(请参阅http://developer.apple.com/iphone/library/documentation/iPhone/Reference/UILocalNotification_Class/Reference/Reference.html#//apple_ref/occ/instp/UILocalNotification/repeatInterval),而不是典型的NSTimeInterval值 .

我'm trying to develop would be severely restricted if I'm限制为NSCalendarUnit常量的应用程序(在此处列出:http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSCalendar_Class/Reference/NSCalendar.html#//apple_ref/doc/c_ref/NSCalendarUnit) . 有什么办法可以在本地通知中设置自定义时间间隔吗?

1 回答

  • 0

    您必须按时间范围安排多个LocalNotifications,直到他们修复该错误 . 我很确定我看到有人将其作为Apple Developer论坛中的错误提交

相关问题