02 2014 档案

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

点击右上角即可分享
微信分享提示