Dynamic Size for TableViewCells

//Dynamic size self.tableView.estimatedRowHeight = 70 //minimum size self.tableView.rowHeight = UITableViewAutomaticDimension override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { return tableView.rowHeight }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.