views:

1001

answers:

3

Can anyone point me in the right direction on how to implement a image gallery like the one that the App Store uses for screen shots of apps? I am trying to get images in a horizontal gallery so that the user can flick through them. The app store nicely snaps to each image.

+1  A: 

Check out Three20. http://github.com/facebook/three20/

marcc
Very cool, but not exactly what I was looking for. Thanks though.
a432511
1+ because I love three20
a432511
+2  A: 

Look at the UIScrollView API here. There is a property 'pagingEnabled' that should help you out.

goatlinks
Thanks. That really helps me out. 1+
a432511
+2  A: 

If you want an "App Store screenshot"-like experience, check out this post by Alexander Repty. I've been looking at doing something similar, and UIScrollView's pagingEnabled functionality definitely won't get you there by itself.

Mike McMaster
Thanks for the link! goatlinks just beat you to the answer. I appreciate it.
a432511
1+ for the link
a432511
Well, goatlinks' link just goes to the documentation for UIScrollView. If you want an "App Store screenshot"-like experience, the page I linked to is more specific to that and should be more helpful - pagingEnabled won't get you there by itself. But no problem. :-)
Mike McMaster