美文网首页iOS劝退指南
tableview的heightForHeaderInSecti

tableview的heightForHeaderInSecti

作者: MccReeee | 来源:发表于2016-08-07 16:08 被阅读58次

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

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

相关文章

网友评论

    本文标题:tableview的heightForHeaderInSecti

    本文链接:https://www.haomeiwen.com/subject/fvelsttx.html