let cell = tableview.dequeueReusableCell(withIdentifier: "cell1") as! viewTableViewCell
let head = titlelist[indexPath.row] as! String
cell.lbl.text = head.uppercased()
if(UIScreen.main.bounds.size.height == 1366)
{
cell.img.heightAnchor.constraint(equalToConstant: 216).isActive = true
cell.img.widthAnchor.constraint(equalToConstant: 395).isActive = true
self.view.updateConstraints()
}
I want to change the width and height constraint for my imageview img in cell.but its not updating.any help is appreciated, thanks.