Your app declares support for audio in the UIBackgroundModes key in your Info.plist, but we were unable to play any audible content when the app was running in the background.

Your app declares support for audio in the UIBackgroundModes key in your Info.plist, but we were unable to play any audible content when the app was running in the background.


Your app declares support for audio in the UIBackgroundModes key in your Info.plist, but we were unable to play any audible content when the app was running in the background._第1张图片
image.png

为什么要打钩,因为,我们使用了极光的自定义消息,在自定义消息模式下,想在后台语音播报,就得开这个,不开,没法播。
解决方案:不开这个,走极光的系统推送,就可以了


Your app declares support for audio in the UIBackgroundModes key in your Info.plist, but we were unable to play any audible content when the app was running in the background._第2张图片
image.png

你可能感兴趣的:(Your app declares support for audio in the UIBackgroundModes key in your Info.plist, but we were unable to play any audible content when the app was running in the background.)