标签:
NSString *tempSavePath = [NSString stringWithFormat:@"%@/Documents",kDocumentPath];
NSFileHandle *fileHandle = [NSFileHandle fileHandleForUpdatingAtPath:tempSavePath];
// 持续写文件到本地
[fileHandle seekToEndOfFile]; //将节点跳到文件的末尾
[fileHandle writeData:data]; //追加写入数据
[fileHandle closeFile];
标签:
原文地址:http://www.cnblogs.com/cjt5132/p/5895784.html