当前位置:网站首页>[uitableview] Pit 1: tableview:heightforheaderinsection: method does not execute
[uitableview] Pit 1: tableview:heightforheaderinsection: method does not execute
2022-06-30 00:20:00 【allanGold】
iOS11 after
tableView:heightForHeaderInSection: Proxy method method does not execute
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section {
return 10;
}
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section {
return 10;
}
After setting the following two attribute values , The above two methods can respond to
_tableView.sectionHeaderHeight = 0.01;
_tableView.sectionFooterHeight = 0.01;
边栏推荐
- QT learning 03 birth and essence of QT
- QT learning 06 widgets and window types
- MySQL multi table query
- Events in JS
- QPainter的使用入门:绘制象棋界面
- 基于zfoo开发项目的一些规范
- SSH key disclosure (module B competition topic) -- Application Service Vulnerability scanning and utilization
- Preliminary syntax of JS
- Table responsive layout tips for super nice
- 简要的说一下:Fragment 间的通信方式?
猜你喜欢

QT learning 03 birth and essence of QT

简要的说一下:Fragment 间的通信方式?

How to write controller layer code gracefully?

Mysql:sql overview and database system introduction | dark horse programmer

Some specifications based on zfoo development project

SOFARegistry 源码|数据同步模块解析

Summarize Flink runtime architecture in simple terms

QT learning 05 introduction to QT creator project

Zhongkang holdings opens the offering: it plans to raise HK $395million net, and it is expected to be listed on July 12
![[advanced C language] address book implementation](/img/e6/8a51d519d31ec323cf04c59a556325.png)
[advanced C language] address book implementation
随机推荐
Web APIs environment object - dark horse programmer
云呐|如何利用系统管理固定资产?如何进行固定资产管理?
请指教在线开户是什么意思?另外想问,现在在线开户安全么?
云原生爱好者周刊:炫酷的 Grafana 监控面板集合
Solr基础操作16
旋转彩色三叶草
Summarize Flink runtime architecture in simple terms
视频ToneMapping(HDR转SDR)中的颜色空间转换问题(BT2020转BT709,YCbCr、YUV和RGB)
[advanced C language] file operation (II)
Findbugs modification summary
Solr basic operations 7
Solr基础操作12
MySQL multi table query
ThinkPad VMware installation virtual machine: this host supports Intel VT-x, but Intel VT-x is disabled (problem resolution)
How to write controller layer code gracefully?
Project 1: deploy lamp ECSHOP e-commerce platform
Solr基础操作13
公司固定资产该哪个部门管理,一般公司固定资产怎么管理
Buffer flow exercise
Solr基础操作8