Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

UIImageView's image not set when given a success block #856

wants to merge 1 commit into


None yet
2 participants

Calling setImageWithURLRequest:placeholderImage:success:failure: with a success block does not set the image.

The image will not appear the first time, but it will work anytime after that because the image is set from cache.


mattt commented Mar 14, 2013

This behavior is intentional and documented:

If a success block is specified, it is the responsibility of the block to set the image of the image view before returning. If no success block is specified, the default behavior of setting the image with self.image = image is executed.

See #592 & #600

@mattt mattt closed this Mar 14, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment