I am making a custom cell in iOS.I have added prototype cell.I m trying to add a view inside a cell of equal width to parent cell.But the width of cell is not equal please t
You should add constraints to the view you added to the cell's content view,just like this.
Tips: It seems like the tableview don't have the correct size so the cell can't be right.You can try add the constraints to the tableview in the same way.
Hope helps.