I try to download contents from App store, I download it successfully, now I try to unzip the downloaded file using SSZipArchive. my content file contains video file. (This is the way I upload content file to App Store steps I did
Here is my code to unzip
NSString *zipPath = @"/private/var/mobile/Applications/1433FA1B-24FA-4E39-BB57-80569ECBCBAB/Library/Caches/7AD5C113-253D-4F34-8030-612FFE4347E1.zip";
NSString *outputPath = [self _cachesPath:@"Regular"];
[SSZipArchive unzipFileAtPath:zipPath toDestination:outputPath delegate:self];
NSString *testPath = [outputPath stringByAppendingPathComponent:@"videofile.mp4"];
bool fileExists = [[NSFileManager defaultManager] fileExistsAtPath:testPath];
if (fileExists)
{
NSLog(@"file exists");
}
else
{
NSLog(@"file not exists");
}
always I got file file not exists. How can I get the video file?