美文网首页
iOS10 权限设置

iOS10 权限设置

作者: Captain_XR | 来源:发表于2016-09-21 11:19 被阅读0次

未设置相应权限,使用相机会闪退

项目打印提示: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里的bundle name标签上点+号,输入Privacy就会出现相应的,按照项目需求,添加相应的即可

相关文章

网友评论

      本文标题:iOS10 权限设置

      本文链接:https://www.haomeiwen.com/subject/slhaettx.html