We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb803c9 commit b9599b4Copy full SHA for b9599b4
MGSwipeTableCell/MGSwipeTableCell.m
@@ -87,6 +87,7 @@ -(instancetype) initWithButtons:(NSArray*) buttonsArray direction:(MGSwipeDirect
87
_buttons = _fromLeft ? buttonsArray: [[buttonsArray reverseObjectEnumerator] allObjects];
88
for (UIView * button in _buttons) {
89
if ([button isKindOfClass:[UIButton class]]) {
90
+ [(UIButton *)button removeTarget:nil action:NULL forControlEvents:UIControlEventAllEvents];
91
[(UIButton *)button addTarget:self action:@selector(buttonClicked:) forControlEvents:UIControlEventTouchUpInside];
92
}
93
if (!differentWidth) {
0 commit comments