UIButton在UITableViewCell中按下效果延迟的解决办法
self.tableView.delaysContentTouches = NO;
?对于IOS7需要在初始化cell时多加几行代码:
for (id obj in cell.subviews){ if ([NSStringFromClass([obj class]) isEqualToString:@"UITableViewCellScrollView"]) { UIScrollView *scroll = (UIScrollView *) obj; scroll.delaysContentTouches = NO; break; }}
?
?