问题
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.
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.
Required functionality :-
1) Increase / Decrease Font size & brightness
2) Bookmark
3) Left & Right Swipe gesture OR Curl effect like changing pages from book
4) Orientation suuport
5) Display contents from Book (List)
6) SEARCH Functionality
7) Optionally display Page number
My questions are :-
1) Does any one know a good iOS library for ePub reader other than AePubReader?
2) I saw this link for for RMSDK. Anybody know about this ? Does it support iOS ?
3) Where should I display extracted contents in order to manipulate the font size & brightness ? In WebView or TextView ?
Any knid of help is appreciated. Thanks
回答1:
Use UITextView to load text by parsing each html/xhtml file. Use page view controller to get page navigation style
来源:https://stackoverflow.com/questions/11933874/develop-epub-file-reader-in-ios-5