Top "Nsurlsession" questions

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

How do I make an HTTP request in Swift?

I read The Programming Language Swift by Apple in iBooks, but cannot figure out how to make an HTTP request (…

ios objective-c swift iphone nsurlsession
The resource could not be loaded because the App Transport Security policy requires the use of a secure connection

I am facing the Problem when I have updated my Xcode to 7.0 or iOS 9.0. Somehow it started giving me the …

ios nsurlconnection nsurlsession ios9 xcode7
Send POST request using NSURLSession

Update: Solution found. You can read it at the end of the post. I'm trying to perform a POST request …

ios objective-c nsurlsession
Undocumented NSURLErrorDomain error codes (-1001, -1003 and -1004) using StoreKit

I'm writing StoreKit-related code, and I'm getting some rather troubling error codes when I try to add a purchase to …

ios nsurlsession storekit nsurlerrordomain
NSURLSession/NSURLConnection HTTP load failed on iOS 9

Tried to run my existing app on iOS9 but getting failure while using AFURLSessionManager. __block NSURLSessionDataTask *task = [self.sessionManager dataTaskWithRequest:…

ios afnetworking nsurlsession ios9 tls1.2
Generate your own Error code in swift 3

What I am trying to achieve is perform a URLSession request in swift 3. I am performing this action in a …

ios swift3 nsurlsession
How to send POST and GET request?

I want to send my JSON to a URL (POST and GET). NSMutableDictionary *JSONDict = [[NSMutableDictionary alloc] init]; [JSONDict setValue:"myValue" …

objective-c swift post get nsurlsession
NSURLSession: How to increase time out for URL requests?

I am using iOS 7's new NSURLSessionDataTask to retrieve data as follows: NSURLSession *session = [NSURLSession sharedSession]; NSURLSessionDataTask *dataTask = [session dataTaskWithRequest: …

ios objective-c swift http nsurlsession
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813) in iOS 9 with Xcode 7.1

I am using iOS 9 as target & using Xcode 7.1, tried everything as my level best for all the solutions of …

ios xcode http nsurlsession salesforce-ios-sdk
How to make NSURLSession POST request in Swift

Hi I am very beginner for Swift and I am trying to make NSURLSession "Post" request sending some parameter like …

ios swift nsurlsession