[英]Autolayouts not working as expected in iPhone 6s Plus
I have 我有
Here the constraints given for the gradient view is 在这里,为梯度视图给出的约束是
These are working perfectly on iPhone 5s, 6s but fails to work on iPhone 6s Plus. 这些可以在iPhone 5s,6s上完美运行,但在iPhone 6s Plus上无法正常工作。 The gradient view doesnt cover the UIImageView fully.
渐变视图无法完全覆盖UIImageView。 Attaching a sample image
附加样本图像
PS I already unchecked Constraint to margin in Interface Builder. PS我已经在Interface Builder中取消选中Constraint to margin。 Still not working.
还是行不通。 Can anyone help me with what i am missing?
有人可以帮我解决我所缺少的吗?
After loads of trial and error. 经过反复试验。 I finally found the solution.
我终于找到了解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.