Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PasscodeLock App Delegate preventing SVProgressHUD from showing #72

Open
kurry421 opened this issue Oct 28, 2016 · 1 comment
Open

PasscodeLock App Delegate preventing SVProgressHUD from showing #72

kurry421 opened this issue Oct 28, 2016 · 1 comment

Comments

@kurry421
Copy link

Hi, great framework, its the only one that was able to work nicely. However, I am facing an issue with the code found in the app delegate, its preventing my SVProgressHUD from displaying anywhere on the app. Any ideas on why this is so? I used the same code from the example project in the app delegate:

import PasscodeLock

//PassCode Lock Code
    lazy var passcodeLockPresenter: PasscodeLockPresenter = {

        let configuration = PasscodeLockConfiguration()
        let presenter = PasscodeLockPresenter(mainWindow: self.window, configuration: configuration)

        return presenter
    }()

    func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool {

        passcodeLockPresenter.present()

        return true
    }

 func applicationDidEnterBackground(_ application: UIApplication) {

        passcodeLockPresenter.present()
    }




@manhcuong27
Copy link

Hello there, did you manage to fix this problem ? My passcode view hide the alert asking for location service too :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants