addMotionEffect method

void addMotionEffect(
  1. UIMotionEffect effect
)

! Begins applying effect to the receiver. The effect's emitted keyPath/value pairs will be applied to the view's presentation layer.

Animates the transition to the motion effect's values using the present UIView animation context.

Implementation

void addMotionEffect(UIMotionEffect effect) {
  objc.checkOsVersionInternal('UIView.addMotionEffect:', iOS: (false, (7, 0, 0)));
  _objc_msgSend_xtuoz7(this.ref.pointer, _sel_addMotionEffect_, effect.ref.pointer);
}