File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ NS_ASSUME_NONNULL_BEGIN
32
32
/* * Tasteful Checkbox for iOS.
33
33
*/
34
34
#if __IPHONE_OS_VERSION_MAX_ALLOWED > __IPHONE_9_3
35
- IB_DESIGNABLE @interface BEMCheckBox : UIView <CAAnimationDelegate >
35
+ IB_DESIGNABLE @interface BEMCheckBox : UIControl <CAAnimationDelegate >
36
36
#else
37
- IB_DESIGNABLE @interface BEMCheckBox : UIView
37
+ IB_DESIGNABLE @interface BEMCheckBox : UIControl
38
38
#endif
39
39
40
40
/* * The different type of animations available.
Original file line number Diff line number Diff line change @@ -171,6 +171,7 @@ - (void)handleTapCheckBox:(UITapGestureRecognizer *)recognizer {
171
171
if ([self .delegate respondsToSelector: @selector (didTapCheckBox: )]) {
172
172
[self .delegate didTapCheckBox: self ];
173
173
}
174
+ [self sendActionsForControlEvents: UIControlEventValueChanged];
174
175
}
175
176
176
177
#pragma mark - Helper methods -
You can’t perform that action at this time.
0 commit comments