1

プログラムで iOS プッシュ通知を次のように構成するにはどうすればよいですか。

not play sound + not vibrate --> OK (Not set `sound` value when push notification)
not play sound + vibrate --> OK (play custom sound (sound with no sound) .i.e: 'sound': 'mute.aiff'))
play sound + vibrate? --> OK (Set `sound` i.e. to `default`)
play sound + not vibrate ???
4

1 に答える 1

0
You can use a silent remote notification
add the remote-notification key in  UIBackgroundModes  in your application Info.plist file. 
For more info please check UIBackgroundModes

<key>UIBackgroundModes</key>
<array>
    <string>remote-notification</string>
</array>
于 2016-11-16T05:00:31.753 に答える