How to unzip/extract 7z compressed files in ios

2019-02-18 12:00发布

I need to unzip/extract 7z compressed files in ios, Can anyone say the libraries used to do this,where are those libraries available to download.I there any sample project to do this ,let me know

2条回答
我欲成王,谁敢阻挡
2楼-- · 2019-02-18 12:19

iOS9 comes with LZMA support (encoder until level 6, decoder all levels). Of course this only helps if you just need the compression – if you absolutely need to read the 7z archive / container format you'll need an external library.

https://developer.apple.com/library/prerelease/ios/documentation/Performance/Reference/Compression/index.html

查看更多
淡お忘
3楼-- · 2019-02-18 12:31

7-Zip Lzma SDK - is a multi-language SDK for handling 7-zip files. Mo Dejong has created an example demonstrating how to use the LZMA SDK to decompress 7-zip libraries on iOS devices. You can find the example on his website here.

查看更多
登录 后发表回答