Hi. Guys.
I have a problem in iOS 10 (also iOS 10.1.1)
Our Project has mobileWeb, mobileApp. (this is very similar page)
There are strange issue.
First, I checked mobileWeb using safari browser.
Sometimes, http response is cut. (Html file is cut.)
So, rendered page is so strange and doesn't have data.
So I checked mobileApp using xcode and safari web inspector.
Then, xcode log show like this.
-------
nw_connection_write_close 512 Connection is not ready, sending error callback
__tcp_connection_write_eof_block_invoke Write close callback received error: [57] Socket is not connected
-------
But, there are more strange situation.
I can not catch the error event with below method.
- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error
- (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error
(UIWebView) - (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error
(WKWebView) - - (void)webView:(WKWebView *)webView didFailProvisionalNavigation:(null_unspecified WKNavigation *)navigation withError:(NSError *)error
(WKWebView) - (void)webView:(WKWebView *)webView didFailNavigation:(null_unspecified WKNavigation *)navigation withError:(NSError *)error
I guess this issue is related in intranet setting.
Because, my home wifi or LTE is so fine.
Even if use intranet iOS 9 is also fine.
And native app is fine.
So, How can I solve this problem ?
What is different between iOS9 and iOS10 in network ?