[英]How to update image in cache when image changed on server with SDWebImage
[英]How to update image when image changed on server with SDWebImage
我有圖像的靜態URL,但是當我編輯該圖像並返回主屏幕時,圖像未更改,它仍然從緩存中獲取舊圖像。
有什么方法可以更新緩存中的圖像嗎?
在SDWebImage文檔上 ,這些家伙給出了執行所需內容的代碼:
[imageView sd_setImageWithURL:[NSURL URLWithString:@"https://graph.facebook.com/olivier.poitrey/picture"]
placeholderImage:[UIImage imageNamed:@"avatar-placeholder.png"]
options:SDWebImageRefreshCached];
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.