什么是NSFaceIDUsageDescription - 面部ID使用说明Info.plist键? [英] What is NSFaceIDUsageDescription - Face ID Usage Description Info.plist key?

查看:2824
本文介绍了什么是NSFaceIDUsageDescription - 面部ID使用说明Info.plist键?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Xcode 9 GM中有一个新的隐私 NSFaceIDUsageDescription Info.plist键,其中开发人员提供权限警报的使用说明。有人有关于文档的链接吗? Xcode中的plist视图总结为:

There is a new privacy NSFaceIDUsageDescription Info.plist key in the Xcode 9 GM where a developer supplies the usage description for the permissions alert. Does anyone have a link to docs on it? The plist view in Xcode summarizes it as:


隐私 - 面部识别码使用说明

Privacy - Face ID Usage Description


推荐答案

现在在上述论坛(由Apple员工)进一步解释 https://forums.developer.apple.com/message/265156

Now further explained in the above mentioned forum (by an Apple employee) https://forums.developer.apple.com/message/265156:


面部ID需要使用密钥
NSFaceIDUsageDescription(也称为隐私 - 面部识别码使用说明)添加一个使用字符串到
你的应用程序的Info.plist。

Face ID requires adding a usage string with the key NSFaceIDUsageDescription (aka Privacy - Face ID Usage Description) to your app's Info.plist.

在模拟器中,Face ID权限
提醒将显示此应用程序旨在使用Touch ID,而且可能不会
完全支持Face ID 如果那把钥匙丢失了。在实际设备上,
您的应用程序将崩溃,就像任何其他所需的使用字符串缺少
一样。

In the simulator, the Face ID permissions alert will show "This app was designed to use Touch ID and may not fully support Face ID" if that key is missing. On an actual device, your app will crash the same as if any other required usage string is missing.

这篇关于什么是NSFaceIDUsageDescription - 面部ID使用说明Info.plist键?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆