Search code examples
iosiphoneanimationios7

Scrolling rows effects in iOS 7


I want to make scrolling effect in iOS 7 when scroll up, those rows will move like this gif shows. Please forget the effect when scroll down (because I cannot find a better sample). However, I don't know how to do that although did research, any solutions and open sources are appreciated!

http://d13yacurqjgara.cloudfront.net/users/107759/screenshots/1176252/moments-ios7.gif


Solution

  • This is done by adding Gravity effect to UIKit components. Once you add attachmentBehaviors, you can easily achieve this effect.

    You can find a tutorial help here.

    There is another solution specific to UITableViewCells here.