Monday, 26 November 2018

How to tell when UIWebView content changes?

I am working on an iOS App using Xcode. The app refreshes a UIWebView every X number of seconds.

By way of background, the app is called 'Browser Auto Refresh': https://itunes.apple.com/us/app/browser-auto-refresh/id1177883066?mt=8).

I am trying to implement an alert when the content of the UIWebView changes post a page refresh (i.e. the page currently being refreshed has just been updated by the owner of that page). I have managed to get hold of the response headers but cannot see any eTag info from multiple sites (incl Google.com).

Does anyone know how you can tell that the content of a webpage has changed when refreshing a UIWebView page?



from How to tell when UIWebView content changes?

No comments:

Post a Comment