Pregunta

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!!

¿Fue útil?

Solución 2

Got the link which helped me :

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

Thanks to : Ben Swanson & Petesh :)

Otros consejos

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top