【发布时间】:2012-06-26 07:24:21
【问题描述】:
- (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 不会接受?
【问题讨论】:
标签: iphone ios xcode tableview reloaddata