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 :
- check current modified field webpage.
- store date variable or persist somewhere.
- at future date check webpage's last modified field once more.
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
Post a Comment