我想通过以编程方式压缩和解压缩此链接http://enhancelearning.co.in/downloads/HTML5.zip的文件来播放 html 5 文件中的视频 此文件包含 4 个 html 文件 zip 和解压缩成功创建但视频未在网络中播放查看这里是我的代码
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *docspath = [paths objectAtIndex:0];
paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES);
// NSString *cachePath = [paths objectAtIndex:0];
NSString *zipFile = [docspath stringByAppendingPathComponent:@"001.html"];
NSURL *url = [NSURL fileURLWithPath:zipFile];
[webVew loadRequest:[NSURLRequest requestWithURL:url]];