Display pushwoosh notification inside app



  • Avatar
    P Tuttoilmondo

    I have found a solution for the second problem

    In the appDelegate.m :

    • (void)applicationDidBecomeActive:(UIApplication *)application { [[UIApplication sharedApplication] setApplicationIconBadgeNumber: 0]; [[UIApplication sharedApplication] cancelAllLocalNotifications]; }

    When the App become active the badge number is cleared.

  • Avatar
    Sergey Polshcha

    First you should to set pushManager delegate:

     - (BOOL) application: (UIApplication *) application didFinishLaunchingWithOptions: (NSDictionary *) launchOptions {    
    // your code here
     [PushNotificationManager pushManager].delegate = self;


    Then add this method in AppDelegate.m:

    - (void) onPushAccepted:(PushNotificationManager *)pushManager withNotification:(NSDictionary *)pushNotification onStart:(BOOL)onStart {
      if (onStart) {
          //Show alert here. You can get the message from pushNotification dictionary


Please sign in to leave a comment.