Search code examples
iosautolayoutconstraintsxcode7nslayoutconstraint

Xcode 7 : Constraints are disabled for subview


I've a subview on view. This subview appears on-top of view when button is clicked.

I'm trying to set constraint to this view but the pin dialog is disabled. Why so?

Screenshot


Solution

  • Brother select objMoreView and make sure Installed option is checked in Attributed Inspector.

    See This image