如何以编程方式获取 Face ID 系统图标?

How can I get the Face ID system icon programatically?

有没有办法以编程方式获取此图标?

在某种程度上是这样的:

[[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(someAction)];

我检查过 the Icons and Images section in iOS Human Interface Guidelines,但我没有在任何地方看到它。

Apple 不鼓励 使用系统图标来识别系统身份验证功能。

来自iOS Human Interface Guidelines

Don't use icons to identify system authentication features. When people see icons that look like the system's Touch ID (thumbprint) and Face ID icons, they think they're supposed to authenticate. Using icons to identify authentication features creates inconsistency and causes confusion, especially when the icons are colorized, displayed at a large size, and presented out of context.

这基本上意味着无法访问带有 public API 的图标。