Chapter 14. Applying motion effects and dynamics

This chapter covers

  • Motion effects using UIMotionEffects
  • Adding the parallax effect
  • Realistic animations with UIKit Dynamics
  • Simulating gravity, collisions, and elasticity
  • Creating custom behaviors

With iOS 7 came flat textures devoid of gradients and out went skeuomorphic design that mimicked real-life physical objects. There was also the addition of parallax, which made interface objects appear to be three-dimensional by altering their position ever so slightly depending on the angle at which you’re holding your device. This parallax effect and many others can be achieved by using the new motion APIs in UIKit. Also, before iOS 7 you needed to dive into complex math and physics if you ...

Get iOS 7 in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.