I have an epub file saved with me in documents directory. Can anybody suggest me a way to read the data and chapters without unzipping the file.

I know its possible in Android so there must be a way out for apple too.

Can anybody throw some light on this.

Thank you!!

有帮助吗?

解决方案 2

Got the link which helped me :

https://github.com/flyingdolphinstudio/Objective-Zip

Thanks to : Ben Swanson & Petesh :)

其他提示

An .epub file is just a .zip file. It contains a few directory files in XML format and the actual book content is usually XHTML.

As a walk around, try to access the META-INF/container.xml, if you did it, you can read it without any unzipping

More info: Epub Format Construction Guide

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top