让 OpenFlow 像 Rolodex 一样垂直工作
我一直在考虑集成 Alex Fajkowski 开发的 OpenFlow API: http://fajkowski.com/blog/2009/08/02/openflow-a-coverflow-api-replacement-for-the-iphone/ 进入应用程序我正在努力。
有谁知道如何垂直堆叠图像,以便我可以像名片盒一样从上到下/从下到上滚动图像?
OpenFlow 的默认行为是水平堆叠图像,并像 CoverFlow 一样从右到左/从左到右滚动图像。我一直在尝试了解如何在 Objective-C 中完成 3D 动画,但没有取得太大成功......
提前感谢您的帮助。
I've been looking at integrating the OpenFlow API developed by Alex Fajkowski: http://fajkowski.com/blog/2009/08/02/openflow-a-coverflow-api-replacement-for-the-iphone/ into an app I am working on.
Does anyone know how I can stack the images vertically so that I can scroll the images from top to bottom/bottom to top like a rolodex?
The default behaviour is for OpenFlow to stack the images horizontally and scroll the images from right to left/left to right just like CoverFlow. I've been trying to get my head around how 3D animation is done in Objective-C without much success...
Thank you for your help in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
真正简单的事情是用这样的东西旋转整个视图:
然后你必须取消旋转所有流动的视图(或旋转图像,或其他)。
更好的方法是修复 OpenFlow,但如果不查看其源代码,就不清楚要更改什么(大多数情况下您只需要交换“x”和“y”)。
The really easy thing to do is to rotate the whole view with something like this:
You'll then have to un-rotate all the flowing views (or rotate the images, or whatever).
The better way is to fix OpenFlow, but without looking at its source code, it's not obvious what to change (mostly you should just need to swap "x" and "y").