AutoLayout Understanding Multiplier

后端 未结 4 569
天涯浪人
天涯浪人 2021-01-17 16:20

I have a problem with multiplier and cannot understand how this feature works. For example i have view has 6:1 multiplier(To SuperView.Leading) as below.

When i

4条回答
  •  自闭症患者
    2021-01-17 17:21

    In my example multiplier is 1:2 = 0.5

    height red view is 0.5 times greater than the superview

提交回复
热议问题