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.

iOS - Find top constraint for a view?

I am trying to find the top constraint of the view in code. The top constraint is added in storyboard, …

ios autolayout nslayoutconstraint
UITextView inside UIScrollView with AutoLayout

I am trying to place UITextView inside UIScrollView with AutoLayout with no luck. What I have tried is, I placed …

objective-c uiscrollview autolayout uitextview nslayoutconstraint
Get reference to NSLayoutConstraint using Identifier set in storyboard

I was setting the constraints of a button using a storyboard. I saw an option, "Identifier" in the constraint's properties. …

ios objective-c cocoa-touch uistoryboard nslayoutconstraint
When will (or won't) updateViewConstraints be called on my view controller for me by the framework?

I have a view controller and I want to craete and set my view constraints in updateViewConstraints. I have a …

ios nslayoutconstraint
Centering view with visual format NSLayoutConstraints

I am trying to center a view using the visual format language. [self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|-[_progressView(300)]…

objective-c ios7 autolayout nslayoutconstraint
Hide autolayout UIView : How to get existing NSLayoutConstraint to update this one

I know how to modify a existing constraint. But I would to know if someone has found a solution to …

objective-c uiview autolayout show-hide nslayoutconstraint
Using autolayout in a tableHeaderView

I have a UIView subclass that contains a multi-line UILabel. This view uses autolayout. I would like to set this …

ios uitableview uiview autolayout nslayoutconstraint
Constraint must contain a first layout item NSLayoutConstraint

I had my LayoutConstraints working fine, then all of a sudden I started getting this when adding Constraints to my …

ios autolayout nslayoutconstraint
Why am I getting a "Auto Layout still required after executing -layoutSubviews" error every time my app launches now?

Since I added the following code, every time my app opens this UITableViewController it crashes: self.noArticlesView = [[UIView alloc] init]; …

ios objective-c uitableview autolayout nslayoutconstraint
How is it possible that UITableViewCellContentView height is different from heightForRowAtIndexPath:

I'm facing a really weird problem on my UITableView. I have some different cells that I want to display on …

ios uitableview autolayout nslayoutconstraint