How to know webView loading is finished for iOS device?

I have a webView and want to know when a webpage loading is completed (so that I can remove the loading spinner I created)

I have a listener for webView and when I get a “loaded” event type, I consider it is finished.

This method works well for Corona Simulator and Android devices.

However, when testing with real iOS device, I have been trying many times, there is no “loaded” event at all. So I cannot use it as an indicator for loading finish.

Is there any way I can know the webpage is loaded (finished/completed/stopped) for iOS devices?

P.S. I searched the net and found out iOS native webView has a loading property for this purpose, but Corona doesn’t have one?

This same issue has been reported on the iOS forums as well, there is a bug report open on it already ( Case#26034 ): http://forums.coronalabs.com/topic/38007-nativenewwebviews-urlrequest-eventtype-loaded-not-behaving-on-ios-devices/

Hope they fix it soon

Thanks for this update.

This same issue has been reported on the iOS forums as well, there is a bug report open on it already ( Case#26034 ): http://forums.coronalabs.com/topic/38007-nativenewwebviews-urlrequest-eventtype-loaded-not-behaving-on-ios-devices/

Hope they fix it soon

Thanks for this update.