iOS UITableViewStyleGrouped head

2020-05-29  本文已影响0人  秀_ba75

在创建tableView的时候加上这两句话

_tableView.estimatedSectionFooterHeight = 0.1;
_tableView.estimatedSectionHeaderHeight = 10;

好像是iOS11以后就要这样设置了,记录一下

上一篇 下一篇

猜你喜欢

热点阅读