Top "Nsurlrequest" questions

on iOS , NSURLRequest objects represent a URL load request in a manner independent of protocol and URL scheme.

How to Get NSURLResponse

I make http request to the web server with this: NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL: [NSURL URLWithString: @"http://server.com"]]; […

iphone ios nsurlrequest
Does NSURLConnection take advantage of NSURLCache?

I'm trying to figure out how to use the URL loading framework to load URLs taking advantage of caching. I …

iphone nsurlconnection nsurlrequest
iOS Twitter NSURLErrorDomain Code=-1012

I am trying to get the user's contact details by singning up with twitter in my app. I found this …

ios twitter nsurlrequest nsurlerrordomain
Setting client-side timeout per request with Alamofire [swift]?

I'm trying to set a client-side timeout per request for Alamofire for Swift. The lead architect told me to set …

swift timeout client nsurlrequest alamofire
NSURLErrorDomain Code = -1012 error

I am trying to log into a server, but I am receiving an error. I am using SBJSON to convert …

nsurlrequest sbjson
function with dataTask returning a value

I wan't to check if my url statusCode equals to 200, I created a function returning a Boolean if the statusCode …

swift nsurlrequest
nsurlconnection asynchronous request

First of all the questions are failry simiple.. if you just want to see what they are skip to the …

iphone ios nsurlconnection nsurlrequest nsurlcache
Swift 3: URLSession / URLRequest Not Working

I am still trying to convert our application from Swift 2 over to Swift 3 because I am being forced to since …

ios swift swift3 nsurlsession nsurlrequest
NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)

I am trying for an HTTP call on https. Here is my code snippet. NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:[NSURL …

objective-c iphone http nsurlrequest nsmutableurlrequest
Change User-Agent and remove App Name and defaults iOS

I am trying to change the User-Agent in iOS, however when I add my custom User-Agent it appends it to …

ios user-agent nsurlrequest