无法在xib中添加约束

问题描述 投票:0回答:1

我有一个臂架,但不能添加约束。当我控制单击和拖动时,我也无法执行任何操作,底部的按钮也无法执行任何操作。

我正在使用xCode 11。

enter image description here

ios xcode interface-builder xib
1个回答
0
投票

检查您要为其添加约束的视图/按钮等的布局选项是否设置为自动。附上屏幕截图以供参考,希望对您有所帮助。enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.