Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我最近使用以下框架将 Touch Id 集成到我的应用程序中:https ://github.com/auth0/SimpleKeychain 。
我还没有找到一种方法来本地化 Touch Id 提示中的“输入密码”按钮,该按钮始终以英文显示。
有谁知道如何本地化它?
设置本地化的FallbackTitle 属性:
目标-C:
LAContext *context = [[LAContext alloc] init]; context.localizedFallbackTitle = @"YOUR TEXT HERE";
迅速:
var touchIDContext = LAContext() context.localizedFallbackTitle = "YOUR TEXT HERE"