Instance Method

addMotionEffect:

Begins applying a motion effect to the view.

Declaration

- (void)addMotionEffect:(UIMotionEffect *)effect;

Parameters

effect

The motion effect.

Discussion

The system animates the transition to the motion effect's values using the present UIView animation context. The motion effect’s keyPath/value pairs are applied to the view’s presentation layer.

See Also

Using Motion Effects

motionEffects

The array of motion effects for the view.

- removeMotionEffect:

Stops applying a motion effect to the view.