How to do iPad Photos app pinch to expand
Posted
by Macatomy
on Stack Overflow
See other posts from Stack Overflow
or by Macatomy
Published on 2010-06-13T16:49:30Z
Indexed on
2010/06/13
16:52 UTC
Read the original article
Hit count: 449
I don't think this has been asked before on this site, but I might be wrong.
Does anyone know the basics of how to get that whole effect with the iPad Photos app? Basically, pinching a stack of photos lets you have a "peek" at the photos in that stack, which expands based on the distance between your 2 fingers in the pinch, then fully completing the outwards pinch gesture opens the photos in the stack in a new view.
See this video to get what I mean. I know of at least one third party app that uses the same method as the iPad Photo app, so I know it's possible to do. I'm guessing I would do something with UIPinchGestureRecognizer but I'm not sure exactly how to proceed.
© Stack Overflow or respective owner