本文介绍了IOS 8无声推送通知不工作没有X code的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想测试出无声推送通知,我注意到,当我的设备连接于X code我的iPhone(IOS 8)只能接收无声的通知。虽然它被拔掉,我只能收到大概5-10尝试静默安推动。这不仅是因为我有是在IOS 7上运行,而不是甚至一个无声推送错过了另一部手机恰巧IOS 8。任何人都面临着同样的问题?

I'm trying to test out the silent push notification and I notice that my Iphone (IOS 8) can only receive silent notifications when my device is connected to Xcode. While it is unplugged, I can only receive one silent push in probably 5-10 tries. This only happen to IOS 8 because I have another phone which is running on IOS 7 and not even a single silent push is missed. Anyone face the same issue ?

详细信息:
如果手机连接到电源,我能够得到无声推送通知完美...

More details:If the phone is connected to power source, I'm able to get silent push notifications perfectly...

推荐答案

我也遇到过类似的问题。如果我的iPhone连接到X code,它可以成功地无声推送通知唤醒。但是,如果它断开到X code,无声推送通知只能是不被唤醒执行后台获取好评。

I have encountered similar issue. If my iPhone connects to the Xcode, it can be woken up successfully by silent push notification. However, if it disconnects to the Xcode, silent push notification can ONLY be received without being woken up to perform background fetch.

的根本原因我的情况是,我关掉后台应用刷新我的设备上。 (设置>通用​​>后台应用刷新)

The root cause for my case is that I turned off the "Background App Refresh" on my device. ("Settings > General" > "Background App Refresh")

我打开它后,由于预期再度我的iPhone可以正常工作。

After I turn it on, my iPhone can work as expected again.

祝您好运!

这篇关于IOS 8无声推送通知不工作没有X code的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-16 12:44