本文介绍了在推送通知中振动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果推送通知进入我的应用程序,如何设置该设备应该振动?
How can I set that device should vibrate if a push notification come to my application?
推荐答案
我认为不可能指示通知振动。如果您使用 soundName
设置声音,如果iPhone在设置>声音中将Vibrate设置为ON,则通知将振动,即它取决于各个iPhone的设置。
I don't think it is possible to instruct the notification to vibrate. If you set a sound using soundName
the notification will vibrate if the iPhone has Vibrate set to ON in Settings > Sounds, i.e. it depends on the settings of the individual iPhone.
这篇关于在推送通知中振动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!