ios - Getting last modified date or flag from a public image on Amazon S3 -
i have bucket on amazon s3 has image, image public has next pattern:
https://s3.amazonaws.com/bucket-name/adbanneronline.png (this file doesn't exist)
what is, create application check if image on address newer locally stored one, if newer app download it, if not, wouldn't.
my question is, how can check date or flag , download know if should download image?
(without having download file?)
edit: not using aws sdk or anything, can think of image hosted anywhere.
if head
request on s3 url rather get
request, s3 homecoming of headers homecoming if downloaded file not send body of object. so, check headers things last-modified
determine whether download object or not. see this details.
ios amazon-s3
No comments:
Post a Comment