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
  • 12,193
  • 38
  • 136
  • 207

0 Answers0