Making XMLHttpRequests in iOS WKWebView when idle (in background) and locking screen causes the request to error out and we get this in the safari console log:
Failed to load resource: The network connection was lost
Does anyone know why Safari closes the connection? Or is it the server closing the connection?
Any help would be greatly appreciated.