UIWebView visibilitychange event

Anyone know a way to get the visibilitychange event working in a web page loaded into an app's UIWebView so that when switching from the app to home, or the app to another app, the visibilitychange event fires, and document.hidden === true?


Currenty in the Chrome iOS app which uses a UIWebView, the visibilitychange event fires only when switching tabs within the app itself, not when returning home or switching apps. They seem to be hinting that this is an Apple issue in this bug report:

https://code.google.com/p/chromium/issues/detail?id=527532&q=visibilitychange&colspec=ID%20Pri%20M%20Stars%20ReleaseBlock%20Cr%20Status%20Owner%20Summary%20OS%20Modified


Is this an Apple issue or is there something that can be handled with UIWebView?

UIWebView visibilitychange event
 
 
Q