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

launchAuthFlow might not work correctly on iOS 10 #43

Open
gurpreetatwal opened this issue Jan 23, 2019 · 0 comments
Open

launchAuthFlow might not work correctly on iOS 10 #43

gurpreetatwal opened this issue Jan 23, 2019 · 0 comments

Comments

@gurpreetatwal
Copy link
Contributor

It seems that calling

viewController.present(safariVC, animated: true, completion: nil)

leads to a Safari showing a white screen, but changing to the following works:

UIApplication.shared.keyWindow?.rootViewController?.present(safariVC, animated: true, completion: {
//
})

see also: https://forums.developer.apple.com/thread/62012

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

No branches or pull requests

1 participant