ios - Checking a website for an update in Swift? -


i've been looking answer have been unable find one.

what's best way check website update (maybe using rss feed?) , show

    there has been update 

on app in swift if there has been update?

any appreciated,

cheers

i check last modified field in http header.

the steps follows :

  1. check current modified field webpage.
  2. store date variable or persist somewhere.
  3. at future date check webpage's last modified field once more.
  4. compare old value new value, if values aren't equal webpage has been modified.

    check out link : getting header response in swift find how view http header of given url in swift.


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -