Top "Nsurlconnection" questions

An NSURLConnection is the Apple Foundation Framework class that provides support to perform the loading of a URL request.

Asynchronous request to the server from background thread

I've got the problem when I tried to do asynchronous requests to server from background thread. I've never got results …

objective-c iphone nsurlconnection
Clear NSURLConnection cache

Is there a way to clear NSURLConnection cache? I used that to download some strings but I keep getting the …

ios objective-c nsurlconnection nsurlcache
NSURLConnection and grand central dispatch

Is it advisable to wrap up NSUrlConnection in a gcd style blocks and run it on a low_priority queue? …

iphone nsurlconnection grand-central-dispatch
Authentication with NSURLConnection sendAsynchronousRequest with completion handler

Generally I like to just "fire and forget" with NSURL's sendAsynchronousRequest class method using the completion handler block but it …

ios authentication nsurlconnection
_kCFStreamErrorCodeKey=-2102 only with wifi of some ISPs

I use below code to send a file to the server: NSString *urlString = [NSString stringWithFormat:@"%@%@",[LIUtility sharedUtility].uploadConnectionURL,BR_SERVER_…

ios objective-c post nsurlconnection
iOS: How can i receive HTTP 401 instead of -1012 NSURLErrorUserCancelledAuthentication

I have a problem similar to the one described in the link below. NSHTTPURLResponse statusCode is returning zero when it …

iphone http ios nsurlconnection
Show activity indicator animation when button pressed

I have a button called "Sync". When tapped / pressed it sends data to a webserver and retrieves the answer by …

ios nsurlconnection activity-indicator
iphone: secure restfull server "The certificate for this server is invalid

I am trying to consume secure restful service which gives error Error = Error Domain=NSURLErrorDomain Code=-1202 "The certificate for …

iphone objective-c ios nsurlconnection nsurlconnectiondelegate
NSURLConnection sendSynchronousRequest with ARC

I am beginning to play around with ARC, and one of the first experiements I was trying was to make …

objective-c nsurlconnection automatic-ref-counting