oscarimonbox
12/14/2015 - 1:24 PM

Separador de celdas de un TableView customizado

Separador de celdas de un TableView customizado

			UIView *separatorEnd = [[UIView alloc] initWithFrame:CGRectMake(20, cell.frame.size.height-1, tableView.frame.size.width-20, 1)];
			separatorEnd.backgroundColor = self.tableView.separatorColor;
			[cell.contentView addSubview:separatorEnd];
			
			
			o 
			
			//añadir a la view que toque:
			
			[headerView addSubview:separatorEnd];