JJSaccolo / UIActivityIndicator-for-SDWebImage

The easiest way to add a UIActivityView to your SDWebImage view
MIT License
817 stars 160 forks source link

UIActivityIndicator not stopping on cancelCurrentImageLoad #7

Closed aleufms closed 11 years ago

aleufms commented 11 years ago

The activityIndicator is not stopping when we cancel the image load.

JJSaccolo commented 11 years ago

Since this is a category and not a sublcass, I can't override cancelCurrentImageLoad. But no worries, the solution is easy! Now the method removeActivityindicator is public, so you can call it (when you call cancelCurrentImageLoad). :)