02 2014 档案
摘要:// 执行通知一定要退出应用或挂起应用(进入后台)才能收到通知。// 创建本地通知UILocalNotification *notification = [[UILocalNotification alloc] init];// 通知触发时间// 5秒钟之后触发notification.fireDate = [NSDate dateWithTimeIntervalSinceNow:5];// 通知时区// 使用本地时区notification.timeZone = [NSTimeZone defaultTimeZone];// 通知提示内容notification.alertBody = @&
阅读全文