views:

456

answers:

1

Hello

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

+5  A: 

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."

http://github.com/enormego/PhotoViewer

Jack
Photo Viewer is what I was looking for. However it throws a Warining I can't get rid of, and I'm concern about App Approval: "<somePath>/PhotoViewer-Release.fmwk/libPhotoViewer-simulator.a, file is not of required architecture"Any ideas on how to fix it???ThanksGonso
gonso
It usually means you're trying to use a simulator compiled library on the device, or vice versa. Essentially the library is not a universal binary, containing both arm and i386 architectures. This is something you can fix if you have the source code, by recompiling the library against both SDKs (device and simulator) and using the lipo command line tool to create the universal binary.
Jasarien