diff --git a/TORoundedButton/TORoundedButton.m b/TORoundedButton/TORoundedButton.m index 0caba11..a681d71 100644 --- a/TORoundedButton/TORoundedButton.m +++ b/TORoundedButton/TORoundedButton.m @@ -257,6 +257,8 @@ - (void)didTouchUpInside [self setBackgroundColorTappedAnimated:YES]; [self setButtonScaledTappedAnimated:YES]; + [self sendActionsForControlEvents:UIControlEventPrimaryActionTriggered]; + if (self.tappedHandler) { self.tappedHandler(); } }