SwiftPasscodeLock icon indicating copy to clipboard operation
SwiftPasscodeLock copied to clipboard

PasscodeLockPresenter not showing passcode screen

Open moesalih opened this issue 8 years ago • 0 comments

I'm calling:

let presenter = PasscodeLockPresenter(mainWindow: UIApplication.shared.keyWindow, configuration: configuration)
presenter.presentPasscodeLock()

from didFinishLaunchingWithOptions and applicationDidEnterBackground but it doesn't seem to work properly.

On launch, only the Touch ID alert shows up, and the passcode screen doesn't. On going to background, the passcode screen shows up in the task switcher, but when selecting the app, the screen goes away, and the Touch ID alert is not shown at all.

Seems like it's something window related. This is on iOS 11.1

moesalih avatar Nov 16 '17 21:11 moesalih