- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
{
UIButton *sbutton = [UIButton buttonWithType:UIButtonTypeRoundedRect];
sbutton.backgroundColor = [UIColor clearColor];
[sbutton addTarget:self action:@selector(changename) forControlEvents:UIControlEventTouchUpInside];
return sbutton;
}
标签:透明,tableView,viewForHeaderInSection,iOS,UIButtonTypeRoundedRect,changename,UIBut From: https://blog.51cto.com/u_8650007/6255588