问题描述
有人知道 iPhone 应用程序收到推送通知时可以播放的声音有什么限制吗?具体来说,有没有最大音长?
Does anybody know of any limitations on the sounds that can be played when an iPhone app receives a push notification? Specifically, is there a maximum sound length?
此外,我假设声音的音量将与用户设置的铃声音量相匹配,如果设置为振动模式,手机将振动而不是播放声音.这是正确的吗?
Also, I am assuming that the volume of the sound will match whatever the user has set their ringer volume to, and if set to vibrate mode, the phone will vibrate instead of playing a sound. Is this correct?
推荐答案
我已经测试了推送通知音频警报的最大长度,结果是 30 秒也就不足为奇了.任何更长的音频文件将导致播放内置的三音警报.
I have tested the maximum length of a push notification audio alert, which not surprisingly turned out to be 30 seconds. Any longer audio files will result in the built-in Tri-tone alert being played instead.
这篇关于iPhone 推送通知声音有限制吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!