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

WKWebView refresh #8

Open
vijaydogra opened this issue Jan 7, 2020 · 2 comments
Open

WKWebView refresh #8

vijaydogra opened this issue Jan 7, 2020 · 2 comments

Comments

@vijaydogra
Copy link

After putting in these files in my project, WKWebView is refreshing on every close of dialog or modal windows. When I comment out the registerSchemeClass call, it works fine. So just wanted to know if someone else had faced this issue, and if yes, how was it solved?

@wilddylan
Copy link
Owner

WKWebView is refreshing on every close of dialog or modal windows;

can you provide the full html code(js,css,html) for open/hide dialog and modal window and callback code ?

@julian-weinert
Copy link

julian-weinert commented Jan 20, 2021

Yeah, I can confirm. Unfortunately your way isn't supported anymore. See this comment for details https://stackoverflow.com/a/54821268/1041122

[<WKWebView 0x600003e0a700> valueForUndefinedKey:]: this class is not key value coding-compliant for the key browsingContextController.

Unfortunately that throws a big stone in a new project of mine. I'm already considering implementing the legacy WebView but honestly I don't want to implement something I may not be able to replace...

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

3 participants