页面翻转示例代码 [英] Page flipping sample code
本文介绍了页面翻转示例代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有任何示例代码可用于翻转像stanza和iBooks这样的页面?
Is there any sample code available for flipping a page like stanza and iBooks?
任何帮助都将不胜感激。
Any help would be appreciated.
推荐答案
这里有一些资源可以帮助您开始使用UIScrollView分页:
Here's a couple of resources to get you started with UIScrollView paging:
- http:// developer .apple.com / iphone / library / samplecode / PageControl / Introduction / Intro.html
- http://cocoawithlove.com/2009/01/multiple-virtual-pages-in-uiscrollview.html
- http://developer.apple.com/iphone/library/samplecode/PageControl/Introduction/Intro.html
- http://cocoawithlove.com/2009/01/multiple-virtual-pages-in-uiscrollview.html
另一方面,如果你的意思是iBooks的页面卷曲动画,Apple会在那里使用私有API,但开发人员一直试图模仿它们:
If you mean iBooks' page curl animations on the other hand, Apple uses private APIs there, but developers have been trying to imitate them:
- http://blog.steventroughtonsmith.com/2010/02/apples-ibooks-dynamic-page-curl.html
- http://oleb.net/blog/2010/06/app-store-safe-page-curl-动画/
- http://github.com/brow/离开
- http://blog.steventroughtonsmith.com/2010/02/apples-ibooks-dynamic-page-curl.html
- http://oleb.net/blog/2010/06/app-store-safe-page-curl-animations/
- http://github.com/brow/leaves
这篇关于页面翻转示例代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文