iOS 15.2 beta WKWebView hangs/locks up after approximately 20-30 seconds of interaction

Greetings, I have an app that relies on WKWebView and it works fine in iOS 15.1.

However I've noticed that the WKWebView hangs in all the iOS 15.2 betas after approximately 20 seconds. At this point my only recourse is to recreate the WKWebView, as it no longer accepts any javascript.

The remainder of the app behaves normally. Has anyone else experienced this and have any suggestions? My app updates the WKWebview approximately every second. However even without updating it, interacting with javascript running on it also causes it to lock up.

Hitting the pause button on Xcode reveals that the JavaScriptCode malloc scavenger's last instruction is 0_psynch_cwait, but then again pausing the app when the WKWebView is not hanging reveals the same so, it's not a good clue.

Thank you, SalCat

Given that iOS 15.2 is still in beta, you should definitely file a bug about this. Make sure to include a sysdiagnose log that was triggering while everything is locked up.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

This issue has disappeared with iOS 15.2 Beta 3 released yesterday.

iOS 15.2 beta WKWebView hangs/locks up after approximately 20-30 seconds of interaction
 
 
Q