Turn a page (a UIWebView) with an animation

2019-01-23 10:13发布

I have a webview, which shows the pages of a ebook. I want to switch from one page to the next page with a page curl animation. By now, I know how to switch the page and how to apply a page curl animation on the webview.

But how do I apply the curl animation in a way that it looks like flipping from one page to another?

2条回答
看我几分像从前
2楼-- · 2019-01-23 10:28

I think you required to use "WebKit CSS animation" for getting animation in UIWebView.

Read DashCode_UserGuide.pdf (its available on Apple 's Dev Center Resources)

查看更多
Bombasti
3楼-- · 2019-01-23 10:39

Here's some downloadable code with an example of how to do this.

查看更多
登录 后发表回答