i am downloading a zip file and saving in document directory. and then making unzip using the ssziparchive . but not getting any data from the zip file .how to fetch the data .and i am not able to see where is my unzip file .in document directory only i am getting this.
i have used this code to make zip as un zip file
NSString *documentsDirectory = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0];
NSString *fullPath = [documentsDirectory stringByAppendingPathComponent:@"image.zip"];
NSString *zipPath =fullPath;
NSString *destinationPath =[documentsDirectory stringByAppendingPathComponent:@"unZipimage"];
NSLog(@"zip path==%@",zipPath);
NSLog(@"dest path==%@",destinationPath);
//
[SSZipArchive unzipFileAtPath:zipPath toDestination:destinationPath];
Zip Data store in Bundle To document directory as below.
get Path from Bundle.
convert
Zip
ToNSData
Store Zip file in document directory
TeztZIP is unzip using
SSZipArchive
at documentsPathOUTPUT :