-(void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification {
}
-(void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {
}
点击了通知栏会调用上面方法、点击icon方法不会调用
网友评论