How to make parallel background NSURLSession datatasks?

Hello guys! I need to download few jsons but one of them are too big for default session configuration and can’t be loaded fully by it. So i want to achieve it with parallel background nsurlsessions but i don’t know how to implement it. Anyone did something similar before? Tried to google it but did not found anything helpful.

Hi @observerward,
Have you looked at NSOperationQueue (I guess it might now be simply OperationQueue)


Yeah. I need parallel download and wait until they all done to save all data at once. NSOperationQueue does not allow to wait other threads.

This topic was automatically closed after 166 days. New replies are no longer allowed.