You can try installing:
override func viewDidLoad() { super.viewDidLoad() self.tableView.rowHeight = UITableViewAutomaticDimension self.tableView.estimatedRowHeight = 44.0
In the view controller containing your tableView .
Make sure layout constraints in TimelineCell define a clear line of height constraints
Another option responds to:
tableView(_ tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat { return 44.0
Always in the ViewController that your tableView contains, and I suppose this is a tableView UITableViewDelegate
Hope this helps
source share