How to divide UIView in to three even sized subviews horizontally in XCODE?

前端 未结 5 1375
你的背包
你的背包 2021-01-13 23:51

I Have to divide a UIView horizontally into three even sized subviews using Xcode. I tried to use constraints. I got the following result.

5条回答
  •  鱼传尺愫
    2021-01-14 00:48

    Take all views with same width and same height and give constraint like in image

提交回复
热议问题