akr ios
akr ios

Reputation: 611

How to unzip/extract 7z compressed files in ios

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

Upvotes: 4

Views: 25538

Answers (2)

Jan Berkel
Jan Berkel

Reputation: 3453

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

Upvotes: 1

Kumait
Kumait

Reputation: 702

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.

Upvotes: 2

Related Questions