ios phonegap)我应该在哪里定位推送通知声音? [英] ios phonegap ) where should I location custom push notification sound?

查看:118
本文介绍了ios phonegap)我应该在哪里定位推送通知声音?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现我需要把我的自定义通知文件到xcode项目,但我不知道在哪里..

I found out I need to put my custom notification file to xcode project but I am not sure where to..

我应该在哪里放我的通知声音?

where should I put my notification sound?

推荐答案

文件必须命名为 beep.wav www 文件夹中。

The file has to be named beep.wav and placed right in the www folder.

Cordova文档



  • iPhone没有本机蜂鸣声API。

    • Cordova通过
      媒体API播放音频文件来实现蜂鸣声。

    • 用户必须提供一个文件所需的哔音。

    • 此文件必须少于30秒,位于www /
      根目录中,且必须命名为beep.wav。

  • There is no native beep API for iPhone.
    • Cordova implements beep by playing an audio file via the media API.
    • The user must provide a file with the desired beep tone.
    • This file must be less than 30 seconds long, located in the www/ root, and must be named beep.wav.

这篇关于ios phonegap)我应该在哪里定位推送通知声音?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆