![](/img/trans.png)
[英]iOS - How to set constraints such that the bottom of a label will be equal to an image view but the height can vary
[英]iOS Constraints. How to set image view height ration equal to image ratio by constraints?
我有相等宽度限制和宽高比适合的图像视图。 我需要通过使用约束将高度调整为与图像相同的比例,这可能吗?
就是现在:
我需要类似的东西:
使用宽高比,宽度和高度将使用相同的比例进行调整
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.