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

Webview does not disappear after success in UITableView #54

Closed
hqy2000 opened this issue Sep 22, 2018 · 1 comment
Closed

Webview does not disappear after success in UITableView #54

hqy2000 opened this issue Sep 22, 2018 · 1 comment
Labels

Comments

@hqy2000
Copy link

hqy2000 commented Sep 22, 2018

The recaptcha does not disappear when triggered from a button inside a UITableViewCell of a UITableView after success. It blocks the whole view totally. The result callback is called successfully.

The code to setup the recaptcha is almost the same as the one provided in the readme. I only change the CGRect part to move it lower to prevent it from blocked by the UINavigationBar.

recaptcha?.configureWebView { [weak self] webview in
    webview.frame = CGRect(x: 0, y: 40, width: self?.view.bounds.width ?? 0, height: self?.view.bounds.height ?? 0)
}

Maybe add a method to manually hide the view?

Screenshots:

simulator screen shot - iphone xr - 2018-09-22 at 19 27 35
simulator screen shot - iphone xr - 2018-09-22 at 19 27 47

@hqy2000
Copy link
Author

hqy2000 commented Sep 22, 2018

Got the solution from #13

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

No branches or pull requests

2 participants