I am new to iPad developer,
I am reading EPUB content on UIWebView
I’m using UIWebView on the iPhone to display EPUB content, but I want to implement page turning animation similar to book.
Here is Demo Example.
And
here is my code snippet,
http://www.mediafire.com/?pxb6xxfknxoarz6
Thanks In Advance !
Ms. Sadun has open source code that will build your pages here
Here is another person’s tutorial
Once you have the page turn animation working, the content can be anything, including an HTML page/link.
I used Erica’s samples to build a book. Most of the pages were pngs, but I used an html page as a table of contents. This page had links to specific pages within the book. Inline CSS worked to style the page.
Note that UIPageViewController only works on iPad.
The following code is how I implemented it. Note that my version shows one page at a time, not two.
This is my page view controller code:
and this is the code I use to feed pages to the page view controller class:
Finally, my table of contents page (web writing) is like this: