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
I'm calling:
from
didFinishLaunchingWithOptions
andapplicationDidEnterBackground
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