I have two
There are 2 Approaches of achieving this..
1: create an object of your desired constraint using IBOutlet and change the value in the
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *trailingSpaceConstraint;
Now change the constant value to any desired number. In my case i want to set the trailing space to 3 times 1/4th of the screen width.
self.trailingSpaceConstraint.constant = self.view.frame.size.height/4*3;
2: Select any constraint and navigate to property attribute and change the value according to Add Side Class Customization by clicking the + sign left to the constant field in that property attribute section of any constraint.