Can't use AFHTTPRequestOperationManager

前端 未结 3 1713
自闭症患者
自闭症患者 2021-02-19 08:34

I got a problem when I\'m using AFNetworking. I wrote this in my code:

AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
<         


        
3条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-19 09:08

    Please check the profile - AFNetworking version

    Change to

    pod 'AFNetworking', '~> 2.5.4'

    and use

    import "AFHTTPRequestOperationManager.h"

提交回复
热议问题