nsurlrequest
iPhone app getting XML then refreshing it at intervals
I have an app which gets some data from the web via an XML document. I have this working fine and have followed apples SeismicXML example (uses NSURLRequest etc). I am very new to this so I have to ad[详细]
2022-12-31 13:50 分类:问答NSMutableURLRequest not obeying my timeoutInterval
I\'m POST\'ing a small image, so i\'d like the timeout interval to be short. If the image doesn\'t send in a few seconds, it\'s probably never going to send. For some unknown reason my NSURLConnection[详细]
2022-12-28 09:30 分类:问答Using NSURLRequest to pass key-value pairs to PHP script with POST
I\'m fairly new to objective-c, and am looking to pass a number of key-value pairs to a PHP script using POST. I\'m using the following code but the data just doesn\'t seem to be getting posted throug[详细]
2022-12-25 06:07 分类:问答How to add lowercase field to NSURLRequest header field?
I\'m getting pretty frustrated figuring out how to add a lowercase header field to an NSMutableURLRequest.[详细]
2022-12-25 05:29 分类:问答NSURL from NSURLConnection?
It seems dead simple, as to create an NSURLConnection I usually do this: NSURL *theURL = [NSURL URLWithString:urlString];[详细]
2022-12-24 12:17 分类:问答How do I share Safari's NSURLCache store?
Background I\'m building an app that links recent web pages you\'ve visited together. To do this, I need to get the HTML[详细]
2022-12-22 23:33 分类:问答Resume download functionality in NSURLConnection
I am downloading some very large data from a server with the NSURLConnection class. How can I im开发者_如何学Cplement a pause facility so that I can resume downloading?You can\'t pause, per-se, but y[详细]
2022-12-22 21:05 分类:问答Does disk caching with NSURLRequest and NSURLConnection actually work on the iPhone?
I have a UITableView whose cells contain custom ImageViews that asynchronously load the images from the internet. To load those images I use NSURLRequest and NSURLConnection which works fine. The only[详细]
2022-12-21 18:03 分类:问答How to use NSURLRequest / NSURLConnection to download an mp3 file to app?
The Situation In my app, I am currently downloading an mp3 file (to docs directory) using [NSData dataWithContentsOfURL:URL], a method that works fine, but ties down the CPU, dissallowing screen updat[详细]
2022-12-19 00:09 分类:问答How Do I Upload Multiple Files Using the iPhone
I am posting (HTTP POST) various values to the post开发者_C百科erous api.I am successfully able to upload the title, body, and ONE media file, but when I try to add in a second media file I get a serv[详细]
2022-12-18 10:46 分类:问答