ios - UITableview to always take full display height
问题描述
is there a way in which a UITableView can always take a fixed height and can scale the static cells i'm using to the remaining height? I'm trying to achieve that my tableview layout is always visible on different devices.
解决方案
我想我理解你在所有设备上显示表格视图的目的。我建议不要设置特定大小,而是使用自动布局!你可以在这里阅读更多。
推荐阅读
- java - 从 Java 客户端发送的命令在被 C++ 服务器端接收之前被分割成多个部分
- ios - TesseractOCR BAD_ACCESS
- javascript - 全局符号注册表和跨领域符号
- python - 如何在 Python 中使用 Zipfile 模块添加密码和输出目录?
- angular - 如何在 Angular 2 中实现个人“收藏夹列表”的可共享链接系统?
- java - 将 HashSet 的内容与地图进行比较
- go - TBinary 协议可以解码 thrifter 编码的数据吗?
- javascript - 如何将窗口的位置居中到大 div 的中心
- ios - 无法“达到”我的覆盖准备功能以编程方式更改选项卡栏控制器中的视图
- python - 如何用zeep正确生成xml?