我想将分隔线添加到表视图部分。目前的标题部分视图的代码将是:TableView部分分隔线
- (void)tableView:(UITableView *)tableView willDisplayHeaderView:(UIView *)view forSection:(NSInteger)section {
// recast your view as a UITableViewHeaderFooterView
UITableViewHeaderFooterView *header = (UITableViewHeaderFooterView *)view;
header.backgroundView.backgroundColor = [UIColor clearColor];
header.textLabel.textColor = [UIColor blackColor];
[header.textLabel setFont:[UIFont fontWithName:@"Rubik-Regular" size:15.0]];
}
后退按钮是错误的一方,请不要做 – Lope
@Lope你的意思右上方后退按钮? –
是的,那个。它违背了用户习惯的一切 – Lope