Top "Nsurlsession" questions

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

NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802 in iOS10, 2017

THIS IS NOT A REPEATED QUESTION, READ ON. I am upgrading the deprecated code in my app to iOS10 compliance. …

ios ssl nsurlsession nsurlsessiontask
Swift Error: ambiguous reference to member 'jsonObject(with:options:)

I am trying to load images from server into my iOS app with the help of GET request. However, it …

ios swift nsurlsession nsjsonserialization json-serialization
NSURLSession causing EXC_BAD_ACCESS

I've noticed that implementing NSURLSessionDataDelegate and starting a task will very occasionally throw an EXC_BAD_ACCESS. The actual calling …

ios swift exc-bad-access nsurlsession
Can't move file after background download: "No such file"

I have an app using a backgroundSessionConfiguration instance of NSURLSession to handle some NSURLSessionDownloadTask tasks. The tasks are created correctly, …

ios ios7 nsurlsession
unable to upload file using NSURLSession multi-part form data in iOS

I am trying to upload a video / image file using- (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request fromFile:(NSURL *)fileURL; method using multi-part …

file-upload multipartform-data nsurlsession nsurlsessionuploadtask nsurlsessionconfiguration
Download multiple files using iOS background transfer service

Here is the question: how to download a number of files one by one using the new Background Transfer Service (…

ios nsurlsession nsurlsessiondownloadtask