iOS10播放视频注意点
2016-06-17 本文已影响0人
dxfkwyn
在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 并且向用户说明.
添加一个key就可以了这样就可以播放视频了,iOS10苹果更注重用户的隐私了