无法在Xcode 11中的情节提要中为UIView设置比例高度 [英] Not able to set proportional height for a UIView in storyboard in Xcode 11

查看:178
本文介绍了无法在Xcode 11中的情节提要中为UIView设置比例高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试将UIView的宽度设置为与情节提要中的超级视图成比例时,该选项未显示在Xcode 11中.但是在Xcode 10中,它显示的是相等宽度"和相等高度"选项.

When I am trying to set the width of a UIView to be proportional to the superview from storyboard the option is not showing up in Xcode 11. But in Xcode 10 it's showing the "Equal Widths" and "Equal Heights" option.

推荐答案

在Xcode 11.2中对我来说效果很好:

Works fine for me in Xcode 11.2:

这篇关于无法在Xcode 11中的情节提要中为UIView设置比例高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆