【发布时间】:2015-07-01 08:05:02
【问题描述】:
我想要以下内容:
func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCellWithIdentifier("NewsCell", forIndexPath: indexPath) as! UITableViewCell
if indexPath == 3{
cell.height = "50dp"
}
return cell
}
解决此问题的替代方法或最简单的方法是什么?
编辑
我是否可以同时指定节号:即-
if sectionIndex == 5
【问题讨论】:
-
读取表视图委托协议参考..
标签: ios swift uitableview