在iOS 5中开发ePub文件阅读器 [英] Develop ePub file reader in iOS 5

查看:172
本文介绍了在iOS 5中开发ePub文件阅读器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发ePub&适用于iOS设备的PDF阅读器。
对于PDF阅读器,我可以在Web View中显示PDF。所以我对PDF没有任何问题。

I want to develop ePub & PDF reader for iOS devices. For PDF reader , I can display PDF in Web View. So I don't have any problem with PDF.

对于ePub文件,我的想法是
1)从服务器和放大器下载epub文件根据要求将其解压缩到Documents目录。
2)解析提取的文件&显示它。
3)应用程序关闭后,从Socuments目录中删除提取的文件。

For ePub files, my idea is 1) Download epub files from server & extract it to Documents directory as per requirement. 2) Parse extracted files & display it. 3) Once app closed , delete extracted files from Socuments directory.

所需功能: -

1)增加/减少字体大小&亮度

1) Increase / Decrease Font size & brightness

2)书签

3)左和右右手滑动手势或卷曲效果,如更改书籍中的页面

3) Left & Right Swipe gesture OR Curl effect like changing pages from book

4)方向suuport

4) Orientation suuport

5)显示内容来自预订(列表)

5) Display contents from Book (List)

6)SEARCH功能

6) SEARCH Functionality

7)可选择显示页码

我的问题是: -

1)除了 AePubReader

2)我看到了 RMSDK 。有人知道吗?它是否支持iOS?

2) I saw this link for for RMSDK. Anybody know about this ? Does it support iOS ?

3)我应该在哪里显示提取的内容以便操作字体大小&亮度?在WebView或TextView中?

3) Where should I display extracted contents in order to manipulate the font size & brightness ? In WebView or TextView ?

感谢任何帮助。谢谢

推荐答案

使用UITextView通过解析每个html / xhtml文件来加载文本。使用页面视图控制器获取页面导航样式

Use UITextView to load text by parsing each html/xhtml file. Use page view controller to get page navigation style

这篇关于在iOS 5中开发ePub文件阅读器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆