在IOS 8.2 / Xcode 6.2上没有调用didReceiveRemoteNotification

时间:2015-03-18 14:29:12

标签: ios xcode push-notification pushwoosh

我的应用未收到推送通知。 我在IOS 8.2上使用,注册是:

if([[UIApplication sharedApplication] respondsToSelector:@selector(registerUserNotificationSettings:)]) {
    [[UIApplication sharedApplication] registerUserNotificationSettings:[UIUserNotificationSettings settingsForTypes:(UIUserNotificationTypeSound | UIUserNotificationTypeAlert | UIUserNotificationTypeBadge) categories:nil]];
    [[UIApplication sharedApplication] registerForRemoteNotifications];
}

我看到服务器发送通知但我的设备未收到... 我该如何解决?

0 个答案:

没有答案