Parse.com IOS推送通知自定义声音

时间:2015-10-16 12:44:07

标签: ios audio parse-platform push-notification cloud-code

收到通知后,无法播放自定义声音。 我收到通知但播放了默认声音。 声音default.caf被添加到我的Xcode项目中(只需将其拖入并根据需要选择复制......)。我使用云代码发送通知,如下所示。 我使用IOS 9。

Parse.Push.send({
                where: query,
                data: {
                    "alert": "Test message...",
                    "sound": "default.caf",
                    "badge": "Increment",
                    "title": "Test"
                }
            });

0 个答案:

没有答案
相关问题