iOS8 本地通知使用方法

在运行脚本时,发现程序在5S虚拟机上一切正常,但是使用iPhone6 Plus虚拟机时报错,根据信息可知是添加本地通知时报错。信息如下:

2015-02-06 17:41:49.369 Demo[6744:1604149] Setting a reminder for 2015-02-06 09:42:00 +0000
2015-02-06 17:41:49.384 Demo[6744:1604149] Attempting to schedule a local notification {fire date = Friday, February 6, 2015 at 5:42:00 PM China Standard Time, time zone = (null), repeat interval = 0, repeat count = UILocalNotificationInfiniteRepeatCount, next fire date = Friday, February 6, 2015 at 5:42:00 PM China Standard Time, user info = (null)} with an alert but haven’t received permission from the user to display alerts
2015-02-06 17:41:51.263 Demo[6744:1604608] Terminating since there is no system app.

参考:cocoachina讨论

iOS8 本地通知使用方法》上有1条评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注