AS arcon Упомянутое EPUB - формат ZIP, Вы должны распаковать файл
чтобы разархивировать файл и сохранить каталог документов на вашем компьютере:
ZipArchive * za = [[ZipArchive alloc] init];
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];