gsdios / SDAutoLayout

One line of code to implement automatic layout. 一行代码搞定自动布局!支持Cell和Tableview高度自适应,Label和ScrollView内容自适应,致力于做最简单易用的AutoLayout库。The most easy way for autoLayout. Based on runtime.
MIT License
5.9k stars 1.28k forks source link

tableView 的 tableHeaderView 高度自适应 #192

Open 77521 opened 7 years ago

77521 commented 7 years ago

怎么设置tableView 的 tableHeaderView 高度自适应呢

guifw commented 7 years ago

你可以先布局结tableHeaderView的高度之后再去(Block或者通知) 赋值给 tableView 的 tableHeaderView