Top "Nsurlsession" questions

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

Showing the file download progress with NSURLSessionDataTask

I want to display file download progress (how many bytes are received) of particular file. It works fine with the …

ios nsurlsession nsurlsessiondownloadtask nsurlsessionconfiguration
Making HTTP Request with header in Swift

I am trying to make an HTTP request to the Imgur API. I am trying to retrieve all images associated …

ios swift nsurlsession imgur
NSURLSession with NSBlockOperation and queues

I have an app that currently uses NSURLConnection for the vast majority of its networking. I would like to move …

ios objective-c nsurlsession nsblockoperation
iOS 9 ATS SSL error with supporting server

I installed Xcode 7 and tried running my app under iOS 9. I'm getting the infamous error: Connection failed! Error - -1200 …

ios objective-c ssl nsurlsession ios9
How can I get the Data from NSURLSession.sharedSession().dataTaskWithRequest

class PostFOrData { let url = NSURL( string: "http://210.61.209.194:8088/SmarttvWebServiceTopmsoApi/GetReadlist") var picUrl = NSURL(string : "http://210.61.209.194:8088/SmarttvMedia/img/epi00001.png") var responseString : …

swift nsurlsession
iOS/Cocoa - NSURLSession - Handling Basic HTTPS Authorization

[edited to provide more information] (I'm not using AFNetworking for this project. I may do so in future, but wish …

ios cocoa http authentication nsurlsession
How To Download Multiple Files Sequentially using NSURLSession downloadTask in Swift

I have an app that has to download multiple large files. I want it to download each file one by …

ios swift multithreading nsurlsession nsoperation
iOS 9.3 : An SSL error has occurred and a secure connection to the server cannot be made

I am getting following error with self signed certificate Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and …

ios swift ssl-certificate alamofire nsurlsession
Set cookies with NSURLSession

Hi I am developing one Iphone application In which I want to set cookies after server response and use that …

ios session-cookies nsurlsession
Is there any way to attach a NSDictionary of parameters to an NSURLRequest instead of manually making a string?

AFNetworking allows you to add an NSDictionary of parameters to a request, and it will append them to the request. …

ios objective-c nsurlconnection nsurlrequest nsurlsession