iOS,Swift3)如何将通知声音设置为无线电流?

时间:2016-10-01 06:20:45

标签: ios audio avplayer uilocalnotification usernotifications

我正在开发 an alarm application with the radio play as the sound.

大多数开发人员用作本地通知声音的是'UNNotificationSound.default()'

但是这是静态声音,我想要的是 从网络下载的目标收音机的流声音。

是否可以实施?

1 个答案:

答案 0 :(得分:0)

不,我不认为这是可能的。此外,本地通知中的音频长度限制为30秒。