objective c - EXC_BAD_ACCESS error when using an NSURLSession NSURLSessionDownloadTask on some hardware in iOS 9 -
update works in ios9 beta 5 original question executing line of code causes exc_bad_access error happen shortly after in library code on non-main thread before completion handler called. [[[nsurlsession sharedsession] downloadtaskwithurl:[nsurl urlwithstring: @"https://www.google.com/images/srpr/logo11w.png"] completionhandler:^(nsurl *location, nsurlresponse *response, nserror *error) { nslog(@"at download completion handler"); }] resume]; it happens on ipad model a1403 on ios 9 beta 3 , 4, not on ios8.1, , works fine on ipad model a1566 on both ios 9 , ios 8.4. i've logged bug apple. is else having issue? see workaround? tests: ios 8.1 - device a1566 - working ios 8.4 - device a1403 - working ios 9 beta 4 - simulator - wo...