How to find UIWebView in Project and replace it with WKWebView?
I solved a similar problem as follows:
- Search in the workspace UIWebView and replace it to WKWebView
- Remove UIWebView in the storyboards and add "WKWebView" instead (do not forget about the connection with the code)
In the terminal, in the project folder, enter the command:
grep -r "UIWebView" .
(don't forget the space and the dot at the end of command!) to find links to UIWebView in library files.
Update the libraries with UIWebView, and if it does not help, then delete all library that have links to UIWebView. (Most libraries with UIWebView have new updates without UIWebView)