UIViewMotionEffects extension

UIViewMotionEffects

on

Properties

motionEffects ↔ NSArray

Available on UIView, provided by the UIViewMotionEffects extension

motionEffects
getter/setter pair

Methods

addMotionEffect(UIMotionEffect effect) → void

Available on UIView, provided by the UIViewMotionEffects extension

! Begins applying effect to the receiver. The effect's emitted keyPath/value pairs will be applied to the view's presentation layer.
removeMotionEffect(UIMotionEffect effect) → void

Available on UIView, provided by the UIViewMotionEffects extension

! Stops applying effect to the receiver. Any affected presentation values will animate to their post-removal values using the present UIView animation context.