I installed AFNetworking 2.1.0 with CocoaPods on Xcode 5.
//ViewController.h #import <AFNetworking/AFNetworking.h> #import <AFNetworking/UIImageView+AFNetworking.h>
Calling setImageWithURLRequest in a UIImageview application crashes with this log:
This is the error log:
2014-02-07 11:55:19.984 OPS[1717:60b] *** Terminating app due to uncaught exception'NSInvalidArgumentException', reason: '-[UIImageViewsetImageWithURLRequest:placeholderImage:success:failure:]: unrecognized selector sent to instance 0x147b06d0'
I found some discussion of this problem, but the solution provided (adding -ObjC -all_load ) does not work in my case.
Any idea?
thanks
ios cocoapods xcode5 afnetworking objective-c-category
PGLongo
source share