Can't use AFHTTPRequestOperationManager

前端 未结 3 1859
自闭症患者
自闭症患者 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:28

    In fact, it's because after AFNetworking 3.x, there is no AFHTTPRequestOperationManager any more. You should use AFHTTPSessionManager instead.

提交回复
热议问题