摘要: #pragma mark -同步GET请求 - (IBAction)synGet:(id)sender { //第一步,创建URL NSURL *url=[[NSURL alloc]initWithString:@"http://www.weather.com.cn/data/sk/101010100.html"]; //第二步,通过URL创建网络请求 NSURLRequest *request=[[NSURLRequest alloc]initWithURL:url cachePolicy:NSURLRequestUseProtocolCachePolicy timeou 阅读全文
posted @ 2013-08-29 23:00 0xdbe 阅读(729) 评论(0) 推荐(0) 编辑