- (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]);
}
这是来自应用委托的方法,当通知到达时我需要重新加载表格视图。
我该如何实现 reloadData,因为如果我写“[TableViewController.tableView reloadData];”,Xcode 将不接受?