Dynamic UITableViewCell content does not expand cell

后端 未结 3 1826
天涯浪人
天涯浪人 2020-12-22 02:56

I have a storyboard with several different types of prototype cells with UILabels containing dynamic data. In my storyboard, the cell looks like this:

The U

3条回答
  •  误落风尘
    2020-12-22 03:33

    If you're sure all your vertical constraints are set and correct top to bottom, try setting tableView.rowHeight = UITableViewAutomaticDimension explicitly.

提交回复
热议问题