ios - Xcode 7 : Constraints are disabled for subview

标签 ios autolayout constraints xcode7 nslayoutconstraint

我有一个 subview 。单击按钮时,此 subview 显示在 View 顶部。

我正在尝试对此 View 设置约束,但 pin 对话框已禁用。
为什么这样?

Screenshot

最佳答案

Brother 选择 objMoreView 并确保在 Attributed Inspector 中选中 Installed 选项。

See This image

关于ios - Xcode 7 : Constraints are disabled for subview,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38973821/

相关文章:

ios - 在 map 或 reduce 方法的闭包中访问实例变量时可以省略 self 吗?

ios - 如何在一行内垂直对齐两个 UILabel?

ios - 调整大小后使用自动布局以编程方式将 UIImageVIew 居中

ios - NSInternalInconsistencyException 与自动布局

ios - AVPlayerViewController 未加载远程 URL

iphone - 禁用自定义选择器中的特定行

ios - 孤立的 UILocalNotification - 已确认

xcode - 在containerView内的UIImageView上使用AutoLayout的Swift Xcode切面适应行为

R:我怎样才能拟合一个对系数有约束的回归?

ios - 自动布局以编程方式修改约束乘数