2013年4月15日

将NSString写入到文件中

摘要: 将字符串写入的文件中很简单的,只要使用NSString的writeToFile函数就可以了。- (BOOL)writeToFile:(NSString *)path atomically:(BOOL)useAuxiliaryFile encoding:(NSStringEncoding)enc error:(NSError **)error;几点注意的。1.写入的路径iOS中只能将数据写入到Doc... 阅读全文

posted @ 2013-04-15 14:22 流れ星ーー 阅读(319) 评论(0) 推荐(0) 编辑

导航