Closed Borys216307 closed 6 years ago
maybe your zipFolder need with a zip filename like this :
NSString documentsDirectory = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"]; NSString zipPath = [documentsDirectory stringByAppendingPathComponent:[NSString stringWithFormat:@"zipFile.zip"]]; if ( [za unzipOpenFile: zipPath] ) { //... }
hope it helps u.
I have used ZipArchive to zip and unzip some file, but UnzipOpenFile returns nil. Please help me on this.
ZipArchive* za = [[ZipArchive alloc] init];