Tag: pushwoosh

在iOS 7上集成PushWoosh不会在pushwoosh上订阅

如在他们的网站上提到的3个步骤 第1步 – 将推送通知SDK添加到您的项目(完成) 第2步 – 在Info.plist中添加以下Pushwoosh_APPID键和您的Pushwoosh id 第3步 – 在App代理中添加以下代码 #import "PushNotificationManager.h – (void) onPushAccepted:(PushNotificationManager *)pushManager withNotification:(NSDictionary *)pushNotification { NSLog(@"Push notification received"); } 我做了所有这三个简单的步骤,但我没有订阅我的应用程序在PushWoosh。 任何人都可以告诉我,如果我忘了做任何步骤。

Pushwhoosh远程通知

我们使用Pushwhoosh进行远程通知。 它的工作正常,但图标徽章计数不增加。 这是代码: – (void) onPushReceived:(PushNotificationManager *)pushManager withNotification:(NSDictionary *)pushNotification onStart:(BOOL)onStart { [[UIApplication sharedApplication] setApplicationIconBadgeNumber:0]; [[UIApplication sharedApplication] setApplicationIconBadgeNumber:1]; } – (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [[UIApplication sharedApplication] registerForRemoteNotificationTypes: (UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeBadge)]; PushNotificationManager * pushManager = [PushNotificationManager pushManager]; pushManager.delegate = self; if ([launchOptions objectForKey:UIApplicationLaunchOptionsLocationKey]) { PushNotificationManager * pushManager = [PushNotificationManager pushManager]; [pushManager startLocationTracking]; } [[UIApplication […]