【发布时间】:2014-05-26 09:57:29
【问题描述】:
我已经设置了LocalNotification,如下所示,并且工作正常..
现在我的问题是..如果我打开看到通知,我想为UITableView 中的单元格提供一些颜色,我已经收到了通知..很明显..我正在做账单提醒项目并设置提醒完美..现在我想为收到通知的账单提供单独的颜色..
请帮帮我..“ttt”是账单的最后插入行。
一些陈述
UILocalNotification *localNotification = [[UILocalNotification alloc] init];
localNotification.fireDate = [NSDate dateWithTimeIntervalSinceNow:180];
localNotification.alertBody = [NSString stringWithFormat:@"%@",sometext];
localNotification.soundName = UILocalNotificationDefaultSoundName;
id var = [NSNumber numberWithInteger: ttt];
[localNotification.userInfo setValue:var forKey:@"id"];
[[UIApplication sharedApplication] scheduleLocalNotification:localNotification];
一些陈述
【问题讨论】: