UnZip files on iPhone/iPod

by alex 3. May 2009 15:45

//Include files from attached archive

 

#import "ZipArchive.h"

NSString *filePath = @"/Users/alex/Test/04/zTest/test.zip";

ZipArchive *z = [[ZipArchive alloc] init];

 

[z UnzipOpenFile:filePath];

[z UnzipFileTo:@"/Users/alex/Test/04" overWrite:YES];

[z UnzipCloseFile];


ZipArchive.zip (37.65 kb)

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

General

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen