iOS如何在Shared/AppGroup/xxx/Library/Sounds中播放自定义通知声音文件



我有一个自定义通知声音的音频文件,但是当文件位于应用程序容器目录的/Library/Sounds目录中时,它就工作了。当文件位于应用程序的共享组容器目录之一的/Library/Sounds目录中时。,它不起作用为什么?https://developer.apple.com/documentation/usernotifications/unnotificationsound

它仅适用于iOS 13+iOS12.1~13通过本地通知使用iOS 10~12.1自定义使用AVFoundation

最新更新