简体   繁体   English

iOS下载自定义推送通知声音

[英]iOS Download Custom Push Notification Sounds

So I've implemented push notifications with custom sounds in my app. 因此,我在应用程序中实现了具有自定义声音的推送通知。

And my app plays those with the push notification with no problem. 而且我的应用程序可以毫无问题地播放带有推送通知的内容。

My question is is it possible to download custom sounds after the app has been installed and play them with the custom push notification system? 我的问题是,在安装该应用程序后是否可以下载自定义声音并使用自定义推送通知系统播放它们?

Since they should be present in the main bundle and that's read only - is there another way to accomplish this? 由于它们应该出现在主捆绑包中并且是只读的-是否有另一种方法可以做到这一点?

Thanks. 谢谢。

I don't believe this is possible. 我不认为这是可能的。

As far as my reading of the documentation goes, the sound files must be inside the read-only main bundle, like you said. 就我对文档的阅读而言,声音文件必须位于只读主捆绑包中,如您所说。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM