[英]How to contraint the bottom edge and top edge of a view to another view in auto layout ios?
In storyboard, you can do it by setting circular image align bottom to image view with half size of your circular image. 在情节提要中,您可以通过将圆形图像设置为底部对齐以使图像视图的尺寸为圆形图像的一半来实现此目的。 In my case circular image's height is 100 so, it's half is 50. Please see following image for detail. 在我的情况下,圆形图像的高度是100,所以一半是50。有关详细信息,请参见下图。
Hope this help! 希望对您有所帮助!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.