Post

Replies

Boosts

Views

Activity

Configuring proxy for NSURLSession in iOS 9
It looks like several of the dictionary key constants I was using in my NSURLSessionConfiguration's connectionProxyDictionary were marked as deprecated in iOS 9:@available(iOS, introduced=2.0, deprecated=9.0, message="Use NSURLSession API for http requests") public let kCFStreamPropertyHTTPProxyHost: CFString @available(iOS, introduced=2.0, deprecated=9.0, message="Use NSURLSession API for http requests") public let kCFStreamPropertyHTTPProxyPort: CFString @available(iOS, introduced=2.0, deprecated=9.0, message="Use NSURLSession API for http requests") public let kCFStreamPropertyHTTPSProxyHost: CFString @available(iOS, introduced=2.0, deprecated=9.0, message="Use NSURLSession API for http requests") public let kCFStreamPropertyHTTPSProxyPort: CFStringI've done some searching but I can't find any documentation that talks about alternatives.What is the appropriate way to configure a proxy in iOS 9?
14
1
9.2k
Sep ’15