...
|
...
|
@@ -137,7 +137,7 @@ |
|
|
{
|
|
|
NSString *selectorAction = NSStringFromSelector(action);
|
|
|
|
|
|
if ([YHEventReport sharedInstance].isPerformanceTrackEnabled && [YHEventReport sharedInstance].buttonPerformanceTrackEnable && [self isKindOfClass:[UIButton class]]&&![selectorAction isEqualToString:@"backAction:"] && [target respondsToSelector:action]) {
|
|
|
if ([YHEventReport sharedInstance].isPerformanceTrackEnabled && [YHEventReport sharedInstance].buttonPerformanceTrackEnable && [self isKindOfClass:[UIButton class]]&&![selectorAction isEqualToString:@"backAction:"] && [target respondsToSelector:action] && (controlEvents == UIControlEventTouchUpInside)) {
|
|
|
|
|
|
if ([[selectorAction componentsSeparatedByString:@":"]count]==1) {
|
|
|
[UIControl yher_exchangeSelector:action target:target toSelector:@selector(yher_UIControl_didTouch_cmd)];
|
...
|
...
|
|