如何在本地通知中显示存储在plist文件中的数据? 如何在ios中创建本地通知从plist文件中读取数据? 我使用下面的代码在警报视图中显示数据,但我如何根据时间更改此数据?
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
UILocalNotification *localNotif = [launchOptions objectForKey:UIApplicationLaunchOptionsLocalNotificationKey];
if (localNotif) {
UIAlertView *alert=[[UIAlertView alloc]initWithTitle:@"hhh" message:@"Data for the first day" delegate:self cancelButtonTitle:@"ok" otherButtonTitles:nil, nil];
[alert show];
}
return YES;
}
谢谢。