Version 1.0, 2014-05-14
Demonstrates using motion effects to enhance the illusion of depth in your app's interface.
iOS 7.0 SDK or later
iOS 7 or later
MotionEffects demonstrates applying motion effects to views in order to enhance the illusion of depth by creating parallxing effects. This sample is broken down into three different parts, each demonstrating a unique way to use motion effects.
* The Basic Interpolation example demonstrates the application of a UIInterpolatingMotionEffect to the position property of one or more views. * The Parallax Blur example demonstrates how a view with motion effects applied can blur the contents underneath it with minimal CPU overhead. * The Custom Motion Effect example demonstrates how to create your own UIMotionEffect subclass.