- (void)application:(UIApplication *)app didReceiveLocalNotification:(UILocalNotification *)notif {
// Handle the notificaton when the app is running
NSLog(@"Recieved Notification %@",notif);
NSLog(@"local notifications count = %d", [[[UIApplication sharedApplication] scheduledLocalNotifications] count]);
}
これはアプリデリゲートからのメソッドであり、通知が到着したときにテーブルビューをリロードする必要があります。
「[TableViewController.tableViewreloadData];」と書くとXcodeは受け入れないので、どうすればreloadDataを実装できますか?