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 在它的视图中显示了两个按钮,“输入密码”和“取消”,我找不到关于如何只要求指纹的文档,像 Withings 这样的应用程序可以成功地做到这一点,只要求没有密码按钮的指纹(只是取消一个)。
他们怎么能做到?
只需将其设置 myContext.localizedFallbackTitle为空字符串
myContext.localizedFallbackTitle
LAContext *myContext = [[LAContext alloc] init]; myContext.localizedFallbackTitle = @""; NSError *authError = nil; NSString *myReasonString = @"Authentication required";