We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to show webpage after scan. how can i do that?
The text was updated successfully, but these errors were encountered:
Basically you can take the url from the QR code and pass it to the presenting view controller which contains a web view like so:
override func processQRCodeContent(qrCodeContent: String) -> Bool { if let presenter = presentingViewController as? MyWebViewController { let url = URL(string: qrCodeContent)! presenter.url = url let webView = WKWebView() webView.load(URLRequest(url: url)) presenter.view = webView } dismiss(animated: true, completion: nil) return true }
Does that help?
Sorry, something went wrong.
No branches or pull requests
I want to show webpage after scan. how can i do that?
The text was updated successfully, but these errors were encountered: