UITableView 使 headerView 不可滚动 [英] UITableView make the headerView not scrollable

查看:29
本文介绍了UITableView 使 headerView 不可滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使tableViewheaderView"不可滚动.

How to make the tableView "headerView" not scrollable.

推荐答案

如果你只有一个section,你可以干脆不使用headerView,在UITableView上面添加一个UIView

If you only have one section, you can simply not use headerView at all and add a UIView above the UITableView

这篇关于UITableView 使 headerView 不可滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆