iPhone上的Apple推送通知提醒,声音和徽章。但是没有打电话:
-(void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification
此方法未调用。我该怎么办?
答案 0 :(得分:1)
您可能希望将委托回调用于远程通知而非本地通知
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo