gpt4 book ai didi

objective-c - 如何在 Interface Builder 中更改 UIView 大小

转载 作者:太空狗 更新时间:2023-10-30 03:25:45 25 4
gpt4 key购买 nike

在 Interface Builder 中,当我查看 View 的尺寸检查器时,它显示 320x416 并且呈灰色,所以我无法更改它。如何使其可编辑?

最佳答案

将检查器中“Simulated Metrics”区域中的 UIView 的“Size”更改为“Freeform”。然后您可以在检查器的“ View ”区域中更改宽度高度

enter image description here

enter image description here

enter image description here

关于objective-c - 如何在 Interface Builder 中更改 UIView 大小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3771545/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com