ARCON が述べたように、EPUB は ZIP 形式です。ファイルを解凍してドキュメント ディレクトリを ur マシンに保存するには、ファイルを解凍する必要があります。if( [za UnzipOpenFile:[[NSBundle mainBundle] pathForResource:@"Help" ofType:@"epub"]] ){
NSString *strPath = [NSString stringWithFormat:@"%@/UnzippedEpub",[self applicationDocumentsDirectory]];
//Delete all the previous files
NSFileManager *filemanager = [[NSFileManager alloc] init];
if ([filemanager fileExistsAtPath:strPath]) {
NSError *error;
[filemanager removeItemAtPath:strPath error:&error];
}
[filemanager release];
filemanager = nil;
//start unzip
[za UnzipFileTo:strPath overWrite:YES];
NSLog(@"path : %@",strPath);
}
[za release];