Skip to content

A POC to investigate WKWebView pausing Javascript evaluation and timers

Notifications You must be signed in to change notification settings

andresilveirah/FrozenJSWkWebview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FrozenJSWkWebview

A POC to investigate WKWebView pausing Javascript evaluation and timers.

TL;DR; - if a WKWebView is instantiated but not attached to a controller in the foreground (presented to the user), iOS pauses the webview preventing it from evaluating javascript. This issue is only reproducedable on real physical devices.

For more context check this StackOverflow question - iOS - Present/Show ViewController while content underneath remains interactive

About

A POC to investigate WKWebView pausing Javascript evaluation and timers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages