This PR adds a missing line of code. When setting a remote image, using SDWebImage, it's important to call setNeedsLayout after updating the image so that the imageView and label frames can be adjusted. Otherwise you will see some strange results, like images shifting when you click on them or resizing when they scroll into view.
This PR adds a missing line of code. When setting a remote image, using SDWebImage, it's important to call
setNeedsLayout
after updating the image so that the imageView and label frames can be adjusted. Otherwise you will see some strange results, like images shifting when you click on them or resizing when they scroll into view.