Answered
Unmask WKWebView (iOS )
Hi there !
I would like to unmask content of a WKWebView, so that I can see it in the fullstory.
My content in a WKWebView is a String, which I inject into a WKWebView, using this function webView.loadHTMLString(string, baseURL: nil).
How can I unmask this WKWebView ?
0
Comments
3 comments
Hi Maksim,
You have a couple of options to unmask the web page that is loaded within the webview:
Cheers,
Uday
Dear Uday, I inject raw HTML string into a WKWebView (there is no URL involved).
Are there other way to unmask WKWebView except using Inspect Mode for Privacy Rules in this particular case ?
Hi Maksim,
You can add class="fs-unmask" to the elements you want to unmask.
Thanks,
Uday
Please sign in to leave a comment.