居然只有这么大
闭关修行中......
func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat {
关于cell的行高,有4种方式可以设置:1、使用rowHeight属性:2、使用代理方法:3、使用self-sizing4、使用代码计算
具体实现可以参考下这篇博客,专门介绍cell行高的设置。http://www.hcios.com/archives/464
func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat {
雷雷关于cell的行高,有4种方式可以设置:
1、使用rowHeight属性:
2、使用代理方法:
3、使用self-sizing
4、使用代码计算
具体实现可以参考下这篇博客,专门介绍cell行高的设置。http://www.hcios.com/archives/464