Question

I am using UIImageview to display the image from saved library.Then, During UILongPressGestureRecognizer event , i insert the custom button to delete.before that in need to shake the pressed image. please if any one help me..

Was it helpful?

Solution

If I understand you correctly you want to shake the UIImageView, which you can find plenty of examples for. For example this one, check the first answer:

UIView shake animation

Use your UIImageView instead of lockView.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top