接收到消息后,怎么区分是在前台接收到的消息还是
接收到消息后,[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkDidReceiveMessage:) name:kJPFNetworkDidReceiveMessageNotification object:nil];怎么区分是在前台接收到的消息还是在后台收到APNS后在进入前台后收到的离线消息呢???????
接收到消息后,[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkDidReceiveMessage:) name:kJPFNetworkDidReceiveMessageNotification object:nil];怎么区分是在前台接收到的消息还是在后台收到APNS后在进入前台后收到的离线消息呢???????
没有什么办法区分,文档推送iOSapi获取推送消息里面有提供某种情况下点击,apple系统会有一个值进行判断,其余的没法判断