ios - Lazy Image loading w/ caching -
i not able form question title because question descriptive.but can explain here.this related image cache in ios.
my requirement : want create 1 list contain image view , image loaded online. need implement cache image (because every time if loaded fom online take time , network consuming).
note: preparing cache key image based on image link.
is there other way prepare cache key ?
after loading listview can click on row , redirect details page. in detailed page have edit option , can change image. , resubmit server. once complete uploading force close application , open fresh app. in case in server side no change in image link because image link http://www.uigarden.net/english/images/108.jpg
now load tableview , images frying load either cache or server. have 2 cases.
1) cache: if there no changing in link , link id available in cache folder load cache. here mu issue : can not able find wether edited or not edited. can not able load newly edited image, because cached image based on link.
2) direct link if link based key not available in cache .
how can distinguish wether edit image or old image ?
please me
afnetworking in combo nsurlcache great
Comments
Post a Comment