While debugging some issues, I noticed that I kept getting an issue like this anytime JavaScript code was being evaluated in the web view subclass:
"Error Domain=WKErrorDomain Code=5 "JavaScript execution returned a result of an unsupported type" UserInfo={NSLocalizedDescription=JavaScript execution returned a result of an unsupported type}"
Wrapping it in a no-op function seems to fix the problem.
While debugging some issues, I noticed that I kept getting an issue like this anytime JavaScript code was being evaluated in the web view subclass:
Wrapping it in a no-op function seems to fix the problem.