This commit is contained in:
Igor Kislyuk 2018-03-26 20:22:45 +03:00
parent 15ccb075b4
commit 11df63f2f4
1 changed files with 3 additions and 3 deletions

View File

@ -40,12 +40,12 @@ public final class BiometricsService {
- parameters:
- description: prompt on the system alert
- fallback: alternative action button title on system alert
- cancel: cancel Button title on the system alert
- cancel: cancel button title on the system alert
- authHandler: callback, with parameter, indicates if user authenticate successfuly
*/
public func authenticateWithBiometrics(with description: String,
fallback fallbackTitle: String? = nil,
cancel cancelTitle: String? = nil,
fallback fallbackTitle: String?,
cancel cancelTitle: String?,
authHandler: @escaping BiometricsAuthHandler) {
if #available(iOS 10.0, *) {
laContext.localizedCancelTitle = cancelTitle