I built a custom tableview with xib file. I added a UILabel
with top border, code for top border is
UIView *topBorder = [UIView new];
topBorder.backgroundColor = [UIColor blackColor];
topBorder.frame = CGRectMake(0, 0, cell.nameOfImage.frame.size.width, 1);
[cell.nameOfImage addSubview:topBorder];
cell.nameOfImage.text = [tableData objectAtIndex:indexPath.row];
But its not resizing with screen differ as in 5s and 6s plus. It is not showing with UILabel
size. In 5s
The top border is not showing with respect to label.