I have a uitableview in which I have added two custom buttons(accept/reject) also styled them and also detecting from which row buttons are pressed. Now I want them to be hidden by default when user swipe then they appear with delete button like animation.
I have a uitableview in which I have added two custom buttons(accept/reject) also styled
Share
This is exactly what you need:
now add a method ‘gestureToShowDeleteButton’ in your view controller and show the delete button in this method with the animation…
this will go into gestureToShowDeleteButton method….
initialize the button with frame (288,10,0,55), provided the dimensions of your button is 128×55….
hope it helps… 😉