¡@

Home 

2014/10/15 ¤U¤È 10:03:41

iphone Programming Glossary: anurlrequest

setKeepAliveTimeout and BackgroundTasks

http://stackoverflow.com/questions/4777499/setkeepalivetimeout-and-backgroundtasks

self cancel dispatch_async dispatch_get_global_queue DISPATCH_QUEUE_PRIORITY_DEFAULT 0 ^ NSMutableURLRequest anURLRequest NSURLResponse outResponse NSError exitError NSString username NSString password NSLog @ FirstLogin anURLRequest NSMutableURLRequest.. anURLRequest NSURLResponse outResponse NSError exitError NSString username NSString password NSLog @ FirstLogin anURLRequest NSMutableURLRequest requestWithURL NSURL URLWithString NSString stringWithFormat webserverLogin username password anURLRequest.. NSMutableURLRequest requestWithURL NSURL URLWithString NSString stringWithFormat webserverLogin username password anURLRequest setHTTPMethod @ GET anURLRequest setTimeoutInterval 120.00 anURLRequest setCachePolicy NSURLRequestReloadIgnoringCacheData..