在Capabilities中设置Background Modes,如图所示
image.png
然后info.plist文件中会自动生成Required Background Modes键,其值为App plays audio or streams audio/video using AirPlay
在Capabilities中设置Background Modes,如图所示
然后info.plist文件中会自动生成Required Background Modes键,其值为App plays audio or streams audio/video using AirPlay
本文标题:iOS后台模式
本文链接:https://www.haomeiwen.com/subject/hlochftx.html
网友评论