摘要: NSOutputStream-保存网络资源到本地_filePath= [[NetworkManagersharedInstance]pathForTemporaryFileWithPrefix:@"Get"];_fileStream= [NSOutputStreamoutputStreamToFileAtPath:self.filePathappend:NO];[_fileStreamopen];2.进行网络请求,并返回网络的数据。通过输出流对象,将数据写入到指定的文件中。- (void)connection:(NSURLConnection*)connection did 阅读全文
posted @ 2014-03-05 11:01 翛尧 阅读(2185) 评论(0) 推荐(0) 编辑