Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,11 @@ class BlurPasswordLoginViewController: UIViewController {
// inputView.labelFont = UIFont(name: "Chalkduster", size: 29)
// }
}

// override func viewDidAppear(_ animated: Bool) {
// super.viewDidAppear(animated)
//
// // manually initiate biometric authentication
// self.passwordUIValidation.view.touchAuthentication()
// }
}
2 changes: 1 addition & 1 deletion SmileLock.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "SmileLock"
s.version = "3.0.4"
s.version = "3.0.5"
s.summary = "A library for make a beautiful Passcode Lock View."
s.description = <<-DESC
1. Create a beautiful passcode lock view simply.
Expand Down
6 changes: 5 additions & 1 deletion SmileLock/Classes/PasswordContainerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,11 @@ open class PasswordContainerView: UIView {
// instantiate LAContext again for avoiding the situation that PasswordContainerView stay in memory when authenticate successfully
self.touchIDContext = LAContext()
}
self.delegate?.touchAuthenticationComplete(self, success: success, error: error)

// delay delegate callback for the user can see passwordDotView input dots filled animation
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
self.delegate?.touchAuthenticationComplete(self, success: success, error: error)
}
}
}
}
Expand Down