Closed whyceewhite closed 9 years ago
The mainQueue is used for the web service calls. Find out if a different queue should be used. There is some concern that using the main queue causes blocking.
mainQueue
This NSOperation tutorial might be helpful.
In ios 9, sendAsynchronousRequest was deprecated. Therefore, use this task to replace with NSURLSession.dataTaskWith....
sendAsynchronousRequest
NSURLSession.dataTaskWith...
The
mainQueue
is used for the web service calls. Find out if a different queue should be used. There is some concern that using the main queue causes blocking.