[Solved] Checking a website for an update in Swift? [closed]


I would check the last modified field in the HTTP header.

The steps would be as follows :

  1. Check the current modified field for a webpage.

  2. Store that date into a variable or persist it somewhere.

  3. At a future date check the webpage’s last modified field once more.

  4. Compare the old value to the new value, if the values aren’t equal then the webpage has been modified.

    Check out this link : Getting Header Response in Swift you will find how to view the http header of a given URL in Swift.

solved Checking a website for an update in Swift? [closed]