1

I've got problem is how can I increase UITableViewCell based on UIImage inside content.

Image from URL will be downloaded and display inside UIImageView with AlamofireImage.

I've added as follow:

func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
    return UITableViewAutomaticDimension
}

and configure right constraint like that

enter image description here

Please let me know where I'm missed.

PPShein
  • 13,309
  • 42
  • 142
  • 227

0 Answers0