开发者

gzip a folder in mac for iphone usage

Is it possible to g开发者_开发知识库zip a folder with 50 files and extract it in iPhone ?


Yes, take a look at this: http://code.google.com/p/ziparchive/ I used it and I like it, really simple to extract any file as data from zip archive, if you need to extract it then you can just obtain documents folder path (writable location) and save all the files from archive in that location.


For unzip, check out this question. iTunes 9.2 and new iOS device allow user to add files to an app's document folder, take a look at the ""Application supports iTunes file sharing" attribute in the app .plist.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜