Top "Nsurlsession" questions

NSURLSession is the API for HTTP connections introduced in iOS 7 and OS X 10.

Resume NSUrlSession on iOS10

iOS 10 is going to be released soon so it worth to test applications for compatibility with it. During such test …

ios nsurlsession ios10 nsurlsessiondownloadtask
How to use special character in NSURL?

My application is using an NSURL like this: var url = NSURL(string: "http://www.geonames.org/search.html?q=Aï…

swift nsurl nsurlsession
URLSessionUploadTask getting automatically cancelled instantly

I'm having this weird issue in which a newly created URLSessionUploadTask gets cancelled instantly. I'm not sure if it's a …

ios nsurlsession swift3 xcode8 nsurlsessionuploadtask
How to programmatically add a proxy to an NSURLSession

Looking over the documentation of NSURLSession and NSURLSessionConfiguration, I was under the impression I should configure it with a dictionary …

ios proxy nsurlsession nsurlsessionconfiguration
AFNetworking 3.0 AFHTTPSessionManager using NSOperation

I'm stuck now some time and I need help. So in AFNetworking 2.0 we have AFHTTPRequestOperation so I could easily use …

ios objective-c afnetworking nsurlsession
How to cancel on-going HTTP request in Swift?

My code does GET request like this: dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), { () -> Void …

ios swift cocoa-touch nsurlsession
NSURLSession Memory Leaks occur when using web services in IOS

I am building an app that uses a web service and to get information from that web service I use …

ios memory-leaks nsurlsession
NSURLSessionConfiguration timeoutIntervalForRequest vs NSURLSession timeoutInterval

With the new NSURLSession, there is now a timeoutIntervalForRequest on the NSURLSessionConfiguration object used to create the session. But there …

ios objective-c timeout nsurlsession
CFNetwork SSLHandshake failed (-9806) error using NSURLSession when app in background for an uploadTask

I am facing a CFNetwork SSL Handshake error while uploading a video file using NSURLSession UploadTask when the App is …

background cfnetwork nsurlsession
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