静音推送无法正常工作

静音推送无法正常工作

本文介绍了当app在ios7中被app切换器杀死时,静音推送无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当收到推送通知时,我都会尝试将更新后的位置发送到服务器。

I am trying to send my updated location to a server whenever I receive a push notification.

I当我从切换器中删除我的应用程序但我的

I am able to receive a push notification when I killed my app from switcher but my

application:didReceiveRemoteNotification:fetchCompletionHandler

不调用委托方法。

我花了五天时间解决这个问题但没有成功。如果有人对此有任何了解,请表示赞赏。

I have spent five days resolving this issue without success. Please, if anybody has any idea about this that would be appreciated.

提前致谢!!

推荐答案

因为从切换器中杀死的ios7应用程序没有收到推送通知。
文档不清楚这一点,但苹果的支持证实了这一点。
您可以在此处查看苹果支持的答案:

Since ios7 apps which are killed from switcher do not receive push notifications.Documentation isn't clear about this, but apple support confirmed this.You can see the answer from apple support here:https://devforums.apple.com/message/925788#925788

另一个参考:

这篇关于当app在ios7中被app切换器杀死时,静音推送无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 09:04