// 解压NSString *zipPath = @"被解压的文件路径";NSString *destinationPath = @"解压到的目录";[SSZipArchive unzipFileAtPath:zipPath toDestination:destinationPath];// 压缩NSString *zippedPath = @"压缩文件路径";NSArray *inputPaths = [NSArray arrayWithObjects: [[NSBundle mainBundle] pathForResource:@"photo1" ofType:@"jpg"], [[NSBundle mainBundle] pathForResource:@"photo2" ofType:@"jpg"] nil];[SSZipArchive createZipFileAtPath:zippedPath withFilesAtPaths:inputPaths];
http://blog.csdn.net/kqygww/article/details/24851877