This was a test I made, while toying with UI Dynamics.
Not using anything special, just the methods used by UIDynamics.
For iPhone, you can rotate the device/simulator to see how they "boxes" are affected by gravity.
For iPad, aside of the iPhone functionality, you can control gravity by buttons.
- iOS 7 or higher
- ARC
##License
Just kidding, theres none for a few lines of code lol.