Not receiving any push notification in iPhone

后端 未结 8 1524
闹比i
闹比i 2020-12-08 10:49

I have made a sample PushTest app for Push Notification using this tutorial.

And using above tutorial I got the message that \'PushTest\' would like to send you Pus

8条回答
  •  误落风尘
    2020-12-08 11:19

    Make sure, that you select right provision profile

    and that your app is minimized. If app's not minimized use

     - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
    {
        NSLog(@"info %@", userInfo);
    }
    

    Other useful information about issues.

    For TESTING pushes you can use APN Tester Free. Attention: insert token WITH spaces.

提交回复
热议问题