Open Close (Unfolding) Book Animation In iBooks

江枫思渺然 提交于 2019-12-05 10:40:20

问题


My app currently basically wires the AQGridView project to the leaves project to make an iBooks (clone-esque) type PDF reader. My problem is, I currently use the pageCurl transition from one view to the next, which is all well and good, but I want to take it to the next level. Has anyone duplicated the iBooks unfolding/ folding book+cover animation? Every question I see about this is just up voted twice with the most noobish and incoherent answers I've ever seen (example a: How to show Book Opening and loading animation as in iBooks?).

Again, for clarification: I know HOW to read the PDF, I'm looking for a view TRANSITION.

EDIT 1: this recent question provided the first half of the answer (expanding the view to fill the screen) File opening animation like in iBooks and Photos.app on iPad


回答1:


I won't write the code for you, but what you're trying to do does sound like a keyframe animation. It's a lot more verbose than using UIView's wrapper to create animations, but you can do much more with it.



来源:https://stackoverflow.com/questions/8499601/open-close-unfolding-book-animation-in-ibooks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!