vibrate in push notification

前端 未结 4 492
别跟我提以往
别跟我提以往 2020-12-06 04:58

How can I set that device should vibrate if a push notification come to my application?

4条回答
  •  粉色の甜心
    2020-12-06 05:36

    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.

提交回复
热议问题