UIViewMotionEffects extension
UIViewMotionEffects
- on
Properties
- motionEffects ↔ NSArray
-
Available on UIView, provided by the UIViewMotionEffects extension
motionEffectsgetter/setter pair
Methods
-
addMotionEffect(
UIMotionEffect effect) → void -
Available on UIView, provided by the UIViewMotionEffects extension
! Begins applyingeffect
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 applyingeffect
to the receiver. Any affected presentation values will animate to their post-removal values using the present UIView animation context.