Instance Method

removeMotionEffect(_:)

Stops applying a motion effect to the view.

Declaration

func removeMotionEffect(_ effect: UIMotionEffect)

Parameters

effect

The motion effect.

Discussion

Any affected presentation values animate to their post-removal values using the present UIView animation context.