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:
Use your UIImageView instead of lockView.
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..
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:
Use your UIImageView instead of lockView.