iOS劝退指南

tableview的heightForHeaderInSecti

2016-08-07  本文已影响58人  MccReeee

设置表格分组,分组之间间隔不起作用的时候,同时设置下表头高和表底高

 func tableView(tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
        return 10
    }
    func tableView(tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat {
        return 0.00001
    }
上一篇 下一篇

猜你喜欢

热点阅读