views:

41

answers:

1

Hi i want to download the Zip Folder in iphone application from remote server that have many HTML files and CSS. Then I want to display it on the UIWebview?

+1  A: 

You might try:

NSData *zipFile = [NSData dataWithContentsOfURL:theURL];

Then you can use the –writeToFile:atomically: method of NSDATA to store the zip file

As far as unzipping it goes, you could try using ZipKit - I haven't used it yet, but I understand that it is pretty good. I'm about to implement it in the project I'm currently working on myself.

Good luck!

JoBu1324