Change frame programmatically with auto layout

前端 未结 4 1844
春和景丽
春和景丽 2020-12-02 14:23

I have a UITableView with Auto Layout and I need to reduce the height when the GADBannerView appears at the bottom of the screen.

Unfortunat

4条回答
  •  渐次进展
    2020-12-02 15:05

    One more thing, you have to call [self.view layoutIfNeeded]; method once you changne the constraints.

    Enjoy :)

提交回复
热议问题