添加一个key就可以了在iOS10中要想播放视频必须在plist中配置文件,以向用户说明情况
苹果官方这样说
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSAppleMusicUsageDescription key with a string value explaining to the user how the app uses this data.
这个app已经崩溃,因为他访问用户的隐私数据,并且没有向用户说明,必须在plist(info.plist)中配置这个key NSAppleMusicUsageDescription 并且向用户说明.
这样就可以播放视频了,iOS10苹果更注重用户的隐私了
关注军哥 微信公众号coderYJ, 微博coderYJ
网友评论