I have upgraded the project I developed with Xcode 7 to Xcode 8.I also did not use Auto Layout because the application works on a single device, and compared it to a problem in a library I use.Now my question is: This library was acting on constraints.With Xcode 7, the old project was added as a default constraint, but I see that Xcode 8 does not have a default constraint. I got this in the following way
With Xcode 7 I get the following result when I write console. po button.constraints
-[0] : NSContentSizeLayoutConstraint:0x7f93916b1210 H:[UIButton:0x7f9391615b20'Button'(46)] Hug:250 CompressionResistance:750
-[1] : NSContentSizeLayoutConstraint:0x7f93916141b0 V:[UIButton:0x7f9391615b20'Button'(30)] Hug:250 CompressionResistance:750With Xcode 8 I get the following result when I write console. po button.constraints
0 elementsAs I said, I did not add the related button constraint in both projects, but by default in Xcode 7 there are 2 NSContentSizeLayoutConstraints visible. In Xcode 8, no NSContentSizeLayoutConstraint appears
Do you know why and how to solve it?