文件存储
文件存储支持文件数据的存储、读取、清除和加密功能。 必须把文件读取成data再进行存储
self.manager = [TMFStorageManager sharedManager];
//存储 加密key的长度必须大于10
[self.manager.commonFileManager setFileWithData:self.fileData fileName:self.fileName key:@"98745612301"];
//读取
NSData *fileData = [self.manager.commonFileManager getFile:self.fileName key:@"98745612301"];
//清除
BOOL = isSuccess = [self.manager.commonFileManager removeFile:self.fileName];