iOS10添加了新的权限控制范围 如果你尝试访问这些隐私数据时得到如下错误:
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app’s Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data
因为它企图访问敏感数据时没有在应用程序的Info.plist设置privacy key
新增的privacy setting如下: