美文网首页iOS 布局
ios11 设置分区区头高度无效

ios11 设置分区区头高度无效

作者: Timer丶 | 来源:发表于2017-12-22 17:47 被阅读3次

    iOS11默认开启Self-Sizing,关闭Self-Sizing即可。

    self.tableView.estimatedRowHeight = 0;

    self.tableView.estimatedSectionHeaderHeight = 0;

    self.tableView.estimatedSectionFooterHeight = 0;

    相关文章

      网友评论

        本文标题:ios11 设置分区区头高度无效

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