Regarding the row height of the cell, there are 4 ways to set it: 1. Use the rowHeight attribute: 2. Use the proxy method: 3. Use self-sizing#🎜🎜 #4. Use code calculation
For specific implementation, please refer to this blog, which specifically introduces the setting of cell row height. http://www.hcios.com/archives/464
func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat {
Regarding the row height of the cell, there are 4 ways to set it:
For specific implementation, please refer to this blog, which specifically introduces the setting of cell row height. http://www.hcios.com/archives/4641. Use the rowHeight attribute:
2. Use the proxy method:
3. Use self-sizing#🎜🎜 #4. Use code calculation