在你的info.plist里面添加Required background modes,子项添加App plays audio or streams audio/video using AirPlay这个选项就可以了。
你看看这个简书http://www.jianshu.com/p/d3e279de2e32,我是实现了。App provides Voice over IP services,App downloads content from the network,App plays audio or streams audio/video using AirPlay。我一共添加了三个。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货