Code = -997 "Lost connection to the background service"

I have an application in which thousands of API calls give me JSON data that I save in coredata using NSURLSession with BackgroundConfiguration. It works fine, but for some downloads it gives me [code = -1 "unknown error"], and then [Code = -997 "Lost connection to the background transfer service"]. I searched the Internet for possible solutions, but could not find a solution.

+4
source share
3 answers

Try checking device logs. You may detect a failure of the Background Transfer daemon. I found that it could fall if the daemon exceeds 40 MB.

+4
source

. sdk. GM.:)

. .

0

, 1000 , 50 , " "

xcode 6.1 SDK 8.1 iOS 8.1.2 8.1.3

0

All Articles