CocoaPods UIImageView+AFNetworking.h unrecognized selector setImageWithURLRequest

前端 未结 3 1967
梦谈多话
梦谈多话 2021-02-09 08:20

I have installed AFNetworking 2.1.0 with CocoaPods on Xcode 5.

//ViewController.h
#import 
#         


        
3条回答
  •  别跟我提以往
    2021-02-09 09:09

    I had the same problem and the above solutions didn't fix it. It was a stupid mistake. I only included the .h, instead of both .h and .m

提交回复
热议问题