JJSaccolo / UIActivityIndicator-for-SDWebImage

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

Updating activityIndicator position #15

Closed ks-simakov closed 10 years ago

ks-simakov commented 10 years ago

If UIImageView changes its size, activityIndicator was still on its old position. I did an update that catching view resize event and updating position of activityIndicator

tonyarnold commented 10 years ago

This fixed initial layout issues for me. Thanks, @GigabyteTheOne!

JJSaccolo commented 10 years ago

Thanks, will merge it! As a little note, I'll modify the layoutSubviews method, calling [super layoutSubviews] :)

ks-simakov commented 10 years ago

Great! Thanks :)

JJSaccolo commented 10 years ago

Pod updated (now version 1.2). Many thanks :)