我的应用程序中有 UITableView,有 2 列。我可以阅读第 1 列和第 2 列的一半。我的问题是 -
我们可以使用 uitableview 中的界面生成器添加水平滚动,以便我可以读取表中所有单元格的第 2 列吗?
我们是否也必须为此添加一些代码,或者只能通过界面生成器来实现?
First, the row in the UITableView
doesn't scrolls itself inside the UITableView
.
My solution (I know someone will come out with something better)
Is to use an UIScrollView
and then inside add the UITableView
.
This UIScrollView
will have the same size that your UITableView
have now, but the UIScrollView
contentSize property will have the same height but it would have a greater width.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)