How can I send multiple url request from a NSURLConnection delegate?

后端 未结 3 1227
天涯浪人
天涯浪人 2021-02-10 17:51

This is the logical flow for my application:

  1. At first, when the view controller has finished loading, then a NSURLConnection request can start its

3条回答
  •  情书的邮戳
    2021-02-10 18:31

    There is a third party library available which is a wrapper on CFNetwork is ASIHTTPREQUEST

    This Library should do work for you. so that you don't have to write the code from scratch. other alternative is create one class which will be responsible for creating NSURLConnection then sending the request and finally notify to view controller using delegate or notification one data is received .

提交回复
热议问题