首页 > 解决方案 > 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.

标签: iosswift

解决方案


我想我理解你在所有设备上显示表格视图的目的。我建议不要设置特定大小,而是使用自动布局!你可以在这里阅读更多。


推荐阅读