I wan to add a view in my iPhone app where the user can scroll (paged) through a series of web loaded images.
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.
Is there a lighter solution or component to do a image scroller on iPhone?
Thanks in advance.
Gonso
Have a look at enormego's PhotoViewer,sounds like it should fit the bill:
"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."
You might want to take a look at MWPhotoBrowser:
MWPhotoBrowser can display one or more images by providing either UIImage objects, or URLs to files, web images or library assets. The photo browser handles the downloading and caching of photos from the web seamlessly. Photos can be zoomed and panned, and optional (customisable) captions can be displayed. The browser can also be used to allow the user to select one or more photos using either the grid or main image view.
来源:https://stackoverflow.com/questions/2973229/three20-photo-scroller-alternative