when using a UIWebView
I want to detect the moment a web page finishes loading in an iOS
app.
For that I tried to use the solution mentioned in this post.
But the problem is that the webViewDidFinishLoad() function gets called (almost right after the call to loadRequest()) way before the page appears on the display making the solution useless. Am I missing something? Or is there a better (or different) way?
P.S. I am using Xcode Version 8.3.2 and iOS Version 10.3.2