ios - 什么是 NSFaceIDUsageDescription - Face ID Usage Description Info.plist key ?

标签 ios xcode ios11 xcode9 face-id

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

Privacy - Face ID Usage Description

最佳答案

现在在上面提到的论坛中进一步解释(由 Apple 员工提供)https://forums.developer.apple.com/message/265156 :

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

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.

关于ios - 什么是 NSFaceIDUsageDescription - Face ID Usage Description Info.plist key ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46309440/

相关文章:

ios - 使用 Xcode 9 和 Swift 4 本地化应用程序的最佳方式?

ios - 如何检测 iOS 应用程序中是否启用了堆栈粉碎保护

ios 11 UITabBar UITabBarItem 定位问题

ios - 复合主键域/swift

ios - swift 协议(protocol),IBOutlet 属性不能有非对象类型

ios - 从一个类调用 IBOutlet UIButton 到另一个 Viewcontroller

xcode - Electron-builder 反复请求 macOS 钥匙串(keychain)权限

ios - 在 iOS 上从 RIFF 容器读取 AAC 音频

swift - Audiokit pod 出现重复符号

ios - 在飞行模式下,CTCarrier 中的 isoCountryCode 不返回 nil