差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 后一修订版 两侧同时换到之后的修订记录 | ||
im:ios:apns:content [2020/06/28 07:06] shenchong [不显示详情] |
im:ios:apns:content [2020/08/14 09:01] zhaoliang |
||
---|---|---|---|
行 94: | 行 94: | ||
{ | { | ||
"aps":{ | "aps":{ | ||
- | "alert":"ApnsName:xxxx", | + | "alert":{ |
+ | "body":"ApnsName:xxxx" | ||
+ | }, | ||
"badge":1, | "badge":1, | ||
"sound":"default" | "sound":"default" | ||
行 342: | 行 344: | ||
| | ||
* 集成方式:将自定义提示音的caf格式音频文件导入iOS工程,发送消息按以下示例增加消息扩展,当接收方离线收到APNs离线推送时,即可播放自定义的提示音。 | * 集成方式:将自定义提示音的caf格式音频文件导入iOS工程,发送消息按以下示例增加消息扩展,当接收方离线收到APNs离线推送时,即可播放自定义的提示音。 | ||
+ | |||
+ | 支持格式 Linear PCM | ||
+ | MA4 (IMA/ADPCM) | ||
+ | µLaw | ||
+ | aLaw | ||
+ | |||
+ | 存放路径 | ||
+ | AppData/Library/Sounds | ||
+ | 具体信息,可以参考苹果官方文档[[https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/generating_a_remote_notification?language=objc|Generating a Remote Notification]] | ||
+ | |||
=== 解析 === | === 解析 === |