Asynchronous NSURLConnection with NSOperation

后端 未结 3 1329
逝去的感伤
逝去的感伤 2020-12-02 23:42

I want to do NSURLConnection in background mode,because it response is having much data.Forums are telling to use Apple\'s finite length coding to use in

3条回答
  •  失恋的感觉
    2020-12-03 00:27

    Look at the sendAsynchronousRequest:queue:completionHandler: method documented here in Apple's Documentation. It allows asynchronous requests with NSURLConnection.

    Note this requires iOS5 or higher

提交回复
热议问题