在Iphone中解压缩源代码 [英] unzip source code in Iphone

查看:90
本文介绍了在Iphone中解压缩源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想我发现了一些关于上述主题的讨论,但没有一点非常清楚。但是我想知道是否有任何用于解压缩多个文件的开源代码。我想提出可以下载一个zip文件(有多个iamges)并在Iphone中提取它的实用程序。

I think I found some discussions on the above topic but nothing very clear. But I would like to know if there is any open source code for unzippping multiple files. I am trying to come up with utility that could download a zip file (with multiple iamges) and extract it in the Iphone .

推荐答案

我推荐我的图书馆 SSZipArchive

用法:

NSString *path = @"path_to_your_zip_file";
NSString *destination = @"path_to_the_folder_where_you_want_it_unzipped";
[SSZipArchive unzipFileAtPath:path toDestination:destination];

非常简单。

这篇关于在Iphone中解压缩源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆