Authored by 孙凯

add 限制 只上传UIControlEventTouchUpInside点击时间 上报 review by hongmo

... ... @@ -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)];
... ...