SnapKit / Masonry

Harness the power of AutoLayout NSLayoutConstraints with a simplified, chainable and expressive syntax. Supports iOS and OSX Auto Layout
MIT License
18.05k stars 3.14k forks source link

make.height.mas_equalTo Issue #413

Open jjyygg opened 7 years ago

jjyygg commented 7 years ago

I want to make two views as my cell's separate line.So I code this make.height.mas_equalTo(0.5).However,the height of one line is 0.666667 and the height of the other line is 0.333333. I used the simulator is iPhone6s plus. When I use the iphone6s display is normal.When I set the constraint height to 0.6, the height of both lines is 0.666667. I would like to know why this is the end.

topjx commented 5 years ago

How did you solve the problem?

Jason8Zhang commented 5 years ago

I have got the same problem, so what is the solvation?