Top "Nslayoutconstraint" questions

NSLayoutConstraint is a constraint defines a relationship between two of user interface objects that must be satisfied by the constraint-based layout system.

how can i increase the height of an inputAccessoryView

I have spent several days on this with no solution in sight. I have an inputAccessoryView which consists of a …

ios swift nslayoutconstraint autoresizingmask inputaccessoryview
How do you make Interface Builder respect a custom view's intrinsic content size in constraint based layout?

Interface Builder in XCode 4.5 respects the intrinsicContentSize for some views, e.g. NSButton, but I can't convince it to respect …

xcode4 interface-builder nslayoutconstraint
How to "find" your own constraint?

Say I have a UIView, class CleverView: UIView In the custom class, I want to do this: func changeWidth() { let …

ios swift nslayoutconstraint
Centre the button in view use constraints programmatically in iOS 8

I have a subview and added 1 button. I want to add this button in the center of that view. I …

ios objective-c ios8 nslayoutconstraint iphone-6
How to use AutoLayout to position UIButtons in horizontal lines (wrapping, left aligned)?

I need to create a couple of UIButtons with various widths programmatically in my app (iOS 6.0 and above). I want …

ios xcode interface-builder autolayout nslayoutconstraint
Autolayout Crash while setting view position to superview

I am getting crash when I am setting the view position 2014-10-06 15:25:01.896 sample[21174:60b] The view hierarchy is not …

ios autolayout nslayoutconstraint superview