在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已經(jīng)崩潰,因為他訪問用戶的隱私數(shù)據(jù),并且沒有向用戶說明,必須在plist(info.plist)中配置這個key? NSAppleMusicUsageDescription 并且向用戶說明.

添加一個key就可以了
這樣就可以播放視頻了,iOS10蘋果更注重用戶的隱私了