ios - NSURLSession sessionWithConfiguration hangs -


very similar issue described here: sessionwithconfiguration freezing ios 8 iphone 4s on new xcode 6.0.1

i have nsurlsession create using backgroundconfigurationwithidentifier: method (in ios8).

if create few hundred downloads, app freezes randomly on either [nsurlsession* invalidateandcancel] or on nsurlsession *session = [nsurlsession sessionwithconfiguration:backgroundconfiguration];

if restart device, goes away. replicable if queue few hundred downloads , send 'invalidateandcancel' message. update if queue handful of downloads on session works. seems nsurlsession can't handle many tasks queued, when provide own nsoperationqueue.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -