one)
You don't need a " resignFirstResponder " on the button (it seems like most of the time I see " resignFirstResponder " in text or text views).
2)
Change the management event from UIControlEventTouchUpInside to UIControlEventTouchDown
3)
The parent UIImageView may not have " userInteractionEnabled " set to true, which means that events will not be sent (or dispatched) to subviews.
To make these events available to subviews, change the parent view of the userInteractionEnabled property with:
backImageView.userInteractionEnabled = YES;
before adding this review.
source share