Objective c 在plist文件中存储的本地通知中显示数据
如何在本地通知中显示plist文件中存储的数据?? 如何在ios中创建本地通知从plist文件读取数据? 我使用以下代码在警报视图中显示数据,但如何根据时间更改此数据Objective c 在plist文件中存储的本地通知中显示数据,objective-c,uilocalnotification,Objective C,Uilocalnotification,如何在本地通知中显示plist文件中存储的数据?? 如何在ios中创建本地通知从plist文件读取数据? 我使用以下代码在警报视图中显示数据,但如何根据时间更改此数据 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { UILocalNotification *localNotif = [launchOptions obj
- (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;
}
多谢各位