Reputation: 635
After I updated the version of AFNetworking in my project to 1.3.1 from 1.3.0, the download of images stopped working.
I tried using setImageWithUrl:placeholderImage: and setImageWithURLRequest:placeholderImage:success:failure: but on both cases the responseObject returned is nil.
It works ok if I go back to 1.3.0
The other AFNetworking operations I'm doing works well on both version, the problems seems to be just with the image download.
I use Cocoapods.
Upvotes: 0
Views: 513
Reputation: 19544
AFNetworking 1.3.1 introduced an update to the way images are loaded, inflating them asynchronously, for better UI responsiveness. There may be some bugs to work out—and if you think you've found one, please report it on AFNetworking's GitHub Issues.
In the meantime, you can set the automaticallyInflatesResponseImage
property to NO
on AFImageRequestOperation
to return to the previous behavior.
Upvotes: 1