iOS开发之footView上加的button没有响应
2019-01-23 本文已影响3人
朱晓晓的技术博客
仔细检查下,因为tableView的footerView初始化跟高度是分离的,有可能忘记了写高度,导致点击无法响应
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section {
return 100;
}
仔细检查下,因为tableView的footerView初始化跟高度是分离的,有可能忘记了写高度,导致点击无法响应
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section {
return 100;
}