Three20 Photo Scroller另类? [英] Three20 Photo Scroller alternative?

查看:228
本文介绍了Three20 Photo Scroller另类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的iPhone应用程序中添加一个视图,用户可以通过一系列Web加载的图像滚动(分页)。

I wan to add a view in my iPhone app where the user can scroll (paged) through a series of web loaded images.

我一直在阅读很多线程,其中大多数最终建议使用Three20 lib。
我试过这个并且看起来很复杂并且体积很大(1.2Mb添加到我的应用程序中)。
另外我只需要TTPhotoViewContoller类,但我必须与整个Three20包集成。

I've been reading many threads and most of them end up suggesting the Three20 lib. I've tried that and looks complicated to integrate and quite heavy in size (1.2Mb added to my app). Additionally I only need the TTPhotoViewContoller class, but I have to integrate with the whole Three20 bundle.

是否有更轻的解决方案或组件来做图像滚动在iPhone上?

Is there a lighter solution or component to do a image scroller on iPhone?

提前致谢。

Gonso

推荐答案

看看enormego的PhotoViewer,听起来应该符合要求:

Have a look at enormego's PhotoViewer,sounds like it should fit the bill:

Photo Viewer是照片查看器来自Facebook的three20库,被淘汰,并释放它对三者的依赖性。我们已经删除了大部分批量代码,它的重量只有800KB,而三分之一的4.7MB,这对于一个简单的照片查看器来说非常重要。 。

"Photo Viewer is the photo viewer from Facebook’s three20 library, torn out, and freed of it’s dependency on three20. We’ve removed most of the bulk code, and it’s weighing in at a lean 800KB vs. three20’s 4.7MB, which is an awful lot for a simple photo viewer."

http://github.com/enormego / PhotoViewer

这篇关于Three20 Photo Scroller另类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆