You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that images are never set if I call af_setImageWithURL several times.
The following (test) code will always result in only the placeholder image being set.
Thank you for reporting @damienrambout! This was certainly a bug. The logic was pretty obvious why the request was being cancelled.
I reworked the main method a bit to ignore duplicate requests that match the active request in bc0e4fb. I also added some tests around this behavior that fail without the patch and succeed with it. I'll push out a release here shortly with this fix.
I have use "af_setImageWithURL" but images is not loaded. @cnoon Above problem is resolved?
What is other way to fetch image from url using Alamofire in Swift?
I've noticed that images are never set if I call
af_setImageWithURL
several times.The following (test) code will always result in only the placeholder image being set.
The first request seems to be successfully cancelled (I get a cancelled error if I set the completion block).
Cheers.
The text was updated successfully, but these errors were encountered: