iPhone 中触摸时图像滚动
我正在开发一个应用程序,其中图像将在触摸时滚动,即向左/向右滑动。
我还必须在肖像模式下在当前图像旁边显示上一张和下一张图像。
我已经看过 covertFlow 示例,它与我的应用程序非常接近,但我希望它处于水平模式。请建议我如何实现它,与它相关的链接也对我有帮助..
提前致谢。
iam developing an app in which, images are to be scrolled on touchesmove i.e, swipping left /right.
I also have to display previous and next images beside present image in protrait mode.
I have seen the covertFlow sample, which is very close to my app, but i want it in horizontal mode. Please suggest me how can i acheive it , links related to it can also be helpful for me..
thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
那么,采用开源 CoverFlow 实现并将其修改为在纵向模式下工作怎么样?
Well how about taking the open source CoverFlow implementation and modify it to work in portrait mode?
您可以在此 tapku 库 中获取示例代码
You can get sample code in this tapku Library
我解决了我的查询,它无需使用任何库即可工作。
我使用延迟加载的概念来下载图像,并将图像放置在滚动视图中,这有助于滚动图像。
以下链接用于异步加载图像。
http://www.markj.net/iphone-asynchronous-table-image/
I solved my query and it is working without using any libraries.
I used the concept of lazyloading to download images, and i placed the images in scrollview which helps to scroll the images.
The following link used to load images asynchronously.
http://www.markj.net/iphone-asynchronous-table-image/