I need to zip a subdirectory of my Documents folder in an iOS app. After consulting Google and other SO posts, I\'ve found ZipKit and ZipArchive as two open source projects
Success. Here's the scoop for anyone else:
Let's say we want to zip /Documents/myfolder
NSString *zipFilePath = @"/Documents/zipped.zip";
ZKFileArchive *archive = [ZKFileArchive archiveWithArchivePath:zipFilePath];
NSInteger result = [archive deflateDirectory:@"/Documents/myfolder" relativeToPath:@"/Documents" usingResourceFork:NO];
And the zip file is created!