Home > Mobile >  Question: WKWebView loadRequest load new address is invalid
Question: WKWebView loadRequest load new address is invalid

Time:09-20

As title, WKWebView in second use loadRequest loading a new url, after decidePolicyForNavigationAction method for current loading url, found that the current load the url or loadRequest load when using the url for the first time,
In the UIWebView can normal use loadRequest to load the new url, and normal rendering,

Excuse me, is this what reason is caused, how can I pass in WKWebView native code to load the new url,
The last bosses in advance thank you for your presence and advice,

CodePudding user response:

I also met the same problem, not a few days ago,
In the end I after loadrequest method to remove the reload method
  •  Tags:  
  • iOS
  • Related