I want to use the proxy server as below to send a request.But I don't know the way to use a proxy server in objective-c
?
proxy server:
72.64.146.136: 3128
Can anyone tell me?Thank you sincerely!
I want to use the proxy server as below to send a request.But I don't know the way to use a proxy server in objective-c
?
proxy server:
72.64.146.136: 3128
Can anyone tell me?Thank you sincerely!
You could use a proxy by using CFURL
but a much nicer option is to use a networking library such as AFNetworking which has proxy support in its API.
https://github.com/AFNetworking/AFNetworking
For more on the CFURL
approach, see Using a proxy for NSURLConnection