Is it possible to use AutoLayout with UITableView's tableHeaderView?

前端 未结 29 1419
醉梦人生
醉梦人生 2020-11-28 19:51

Since I discovered AutoLayout I use it everywhere, now I\'m trying to use it with a tableHeaderView.

I made a subclass of

29条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-28 20:37

    I created a subclass of UITableView and used UIStackView for both header and footer, it also enables setting more than one view.

    https://github.com/omaralbeik/StackableTableView

提交回复
热议问题