取消选择最后一行后返回UITableview页脚
我已成功移除UITableView底部的彩色分隔符,具体操作如下:取消选择最后一行后返回UITableview页脚,uitableview,Uitableview,我已成功移除UITableView底部的彩色分隔符,具体操作如下: - (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section { return 0.1f; } - (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section { return [UIV
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section
{
return 0.1f;
}
- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section
{
return [UIView new];
//[[UIView alloc] initWithFrame:CGRectMake(0, 0, 0, 0)];
}
但是,当我取消选择最后一行时,页脚将再次绘制
我怎样才能防止我的第1部分的页脚被画出来