Hi,
I would like to be able to override system proxy settings on iOS, specifically to turn off the proxy and use direct connection instead. I'm using NSURLSession with custom NSURLSessionConfiguration in which I'm using custom .connectionProxyDictionary. I know which keys should be set in this dictionary in order to customize proxy host or port. But how do I explicitly turn proxy usage off (even though it is defined in system wide settings)?
I tried setting kCFNetworkProxiesHTTPEnable: @0 - this doesn't work.
I also tried putting kCFNetworkProxiesProxyAutoConfigJavaScript: @"function findProxyForURL(u,h) { return 'DIRECT'; }" into this dictionary - this doesn't work either.