How to show message if web page does not load in webView?

I need to load a web page in a webView control. But if the user’s wifi is not available is there a way to determine this or know if the page failed to load? I would like to display a message if so.

Thanks

Warren

Anyone? lol

The only thing I can think of at the moment is to set a timer (performWithDelay) that displays a message if the webView hasn’t returned an event.type==“loaded” event within the given timeframe. In the event handler you’d cancel the timer when a “loaded” event is received.

Anyone? lol

The only thing I can think of at the moment is to set a timer (performWithDelay) that displays a message if the webView hasn’t returned an event.type==“loaded” event within the given timeframe. In the event handler you’d cancel the timer when a “loaded” event is received.