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