I need to display e-pub books, so I used a webview to display the e-pub book and I am able to display the book chapter-wise instead of page-wise. Can anyone please help me so that i can paginate the epub
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To paginate ePub, you have to extensively use WebView and column layout with custom CSS. Here is a typical workflow for each chapter:
widthandheight;<script src="[local path]"></script>tag;divtag using DHTML;column-widthset for thatdivtag;clientWidth / width.Then, you can use the same technique to render ePub into UIViewController, but this time on screen. While rendering how many pages are in ePub, you may want to display a progress indicator.