本文介绍了iOS的推送通知 - 如何在不健全的指定警报和徽章?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道如何发送推送通知没有声音。
从苹果的网站:
This says that if I use "default" for the sound file or if I specify a sound file that does not exist, it will play the default alert sound.
But it does specifically state how to have no sound... If I just do not include a sound in the payload (leave it out), will this mean that there will be no sound played?
Thanks
解决方案
That's right. Just don't include sound
in the payload. Or, don't even register for sound notification type if you're never going to want to play sounds.
这篇关于iOS的推送通知 - 如何在不健全的指定警报和徽章?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!