Show the lock screen placeholder on willResignActive. (#2086)

This commit is contained in:
Doug
2023-11-15 15:31:35 +00:00
committed by GitHub
parent 342feb4113
commit 0b9da83470
10 changed files with 164 additions and 65 deletions
@@ -59,7 +59,7 @@ protocol AppLockServiceProtocol: AnyObject {
/// Informs the service that the app has entered the background.
func applicationDidEnterBackground()
/// Decides whether the app should be unlocked with a PIN code/biometrics on foregrounding.
func computeNeedsUnlock(willEnterForegroundAt date: Date) -> Bool
func computeNeedsUnlock(didBecomeActiveAt date: Date) -> Bool
/// Attempt to unlock the app with the supplied PIN code.
func unlock(with pinCode: String) -> Bool