App Store からコンテンツをダウンロードしようとしましたが、ダウンロードに成功しました。ダウンロードしたファイルを SSZipArchive を使用して解凍しようとしています。私のコンテンツファイルにはビデオファイルが含まれています。(これは、私が行ったApp Storeの手順にコンテンツファイルをアップロードする方法です
解凍するコードは次のとおりです
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");
}
常にファイルファイルが存在しません。ビデオファイルを取得するにはどうすればよいですか?