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.

Can I change multiplier property for NSLayoutConstraint?

I created two views in one superview, and then added constraints between views: _indicatorConstrainWidth = [NSLayoutConstraint constraintWithItem:self.view1 attribute:NSLayoutAttributeWidth …

ios iphone objective-c nslayoutconstraint
When can I activate/deactivate layout constraints?

I've set up multiple sets of constraints in IB, and I'd like to programmatically toggle between them depending on some …

ios swift uiview autolayout nslayoutconstraint
iOS: How does one animate to new autolayout constraint (height)

I've never worked with autolayout constraints before. I have a small new app I'm working on and noticed that the …

ios uiview autolayout nslayoutconstraint
Setting constraints programmatically

I'm experimenting with how to use UIScrollView. After much trouble, I finally got the hang of it. But now I've …

ios objective-c uiviewcontroller uiscrollview nslayoutconstraint
Update height constraint programmatically

I am new in auto layout. I have done all of my project from xib file, but now I faced …

ios objective-c swift autolayout nslayoutconstraint
Auto layout constraints issue on iOS7 in UITableViewCell

I'm using auto layout constraints programmatically to layout my custom UITableView cells and I'm correctly defining the cell sizes in …

ios ios7 uitableview autolayout nslayoutconstraint
With Auto Layout, how do I make a UIImageView's size dynamic depending on the image?

I want my UIImageView to grow or shrink depending on the size of what the actual image it's displaying is. …

ios objective-c uiimageview autolayout nslayoutconstraint
AutoLayout to keep view sizes proportional

I'm trying to achieve the following: I have 2 views in my xib that need to stay 20 pixels off the edge (…

ios interface-builder ios6 autolayout nslayoutconstraint
How to set UILabel only width and height and constraints programmatically

I want to create a UILabel programmatically with height, width and then I want to add constraints to it also …

ios objective-c uilabel nslayoutconstraint
NSLayoutConstraints and setting the width/height of a view dynamically

I have a question about setting the size of a view to which i'm applying some layout constraints. How can …

objective-c ios xcode nslayoutconstraint