Apple push notifications Apple推送通知-更改默认声音
在为Apple推送通知创建通知负载时,我使用Apple push notifications Apple推送通知-更改默认声音,apple-push-notifications,Apple Push Notifications,在为Apple推送通知创建通知负载时,我使用default作为sound。我可以传递给声音的其他值是什么 { "aps" : { "alert" : "You got a push!", "badge" : 1, "sound" : "default" }, "acme1" : "bar", "acme2" : 42 } 从APNs的网站 应用程序包中声音文件的名称。此文件中的声音作为警报播放。如果声音文件不
default
作为sound
。我可以传递给声音的其他值是什么
{
"aps" : {
"alert" : "You got a push!",
"badge" : 1,
"sound" : "default"
},
"acme1" : "bar",
"acme2" : 42
}
从APNs的网站
应用程序包中声音文件的名称。此文件中的声音作为警报播放。如果声音文件不存在或将默认值指定为该值,则会播放默认警报声音。音频必须采用与系统声音兼容的音频数据格式之一;有关详细信息,请参阅“准备自定义警报声音”
链接在这里诚实的回答是“我不知道”:我认为这是不可能的。提供的链接返回“404”