开发者

Best approch for creating ePub reader similar to iBook or Stanza application [closed]

开发者 https://www.devze.com 2023-01-25 18:55 出处:网络
开发者_JS百科As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely soli
开发者_JS百科 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

I am planning to develop a ePub reader for iOS devices. I don't want to use webView for this. In this application, I want features like iBook or stanza app. I want to know, which approch is used in developing Stanza app.


Books in ePub format are HTML with some meta-data. Different generators create differently formatted HTML. The work needed to implement a parser capable of displaying all ePub is a mammoth task! If you do not want to use a web view then your project is doomed from the start.

Stanza, Apple's iBooks, my own ePub reader for iPad, and any other ePub reader I know of all use a standard Web view as the basis. On top of that you need allot of CSS and Javascript to tweak all mutations of ePubs there is.


Your approach should be to learn how to parse the ePub data and bundle that with an app that displays the content as well as handles all the other features. Probably want to look at Core Text.


Actually you do can write an ePub reader without an WebView, but you need to render everything on your own. You can find some open source epub reader for reference.


Download Sample project from here http://ideveloperworld.blogspot.in/2011/02/epub-reader.html

0

精彩评论

暂无评论...
验证码 换一张
取 消