如何在两个tableview单元格之间添加按钮

时间:2016-05-31 11:49:52

标签: ios swift

我正在使用UITableView来显示付款细分。我想在两个tableview单元格之间显示一个按钮。

Please refer image to understand the problem in better way 在此先感谢

1 个答案:

答案 0 :(得分:0)

如果您使用autolayout,它会更简单。你几乎可以得到这样的

enter image description here

这是层次结构,

 -> tableview
  -> contentView
    ->uiview(containerview - showing in light blue color)
    -> uiview (rounder view - dark blue)

圆形视图固定在底部,具有高度,宽度和harizontaly -Centered。容器视图有顶部,左侧,底部(25),右侧。 并相应地更改conentview颜色。它会给你想要的结果。

相关问题