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

How do you convert a timestamp into a datetime in python with the correct timezone? -

how to display 2 form fields on same line with bootstrap -

c# - how to use buttonedit in devexpress gridcontrol -