Jakub
Jakub

Reputation: 13860

NSLayoutConstraint get real value

How to get real value of Greater Than on Equal NSLayoutConstraint.

When you get constant parameter when constraint in runtime is clearly more than that it still return the lowest possible value

Upvotes: 5

Views: 1655

Answers (1)

Rob
Rob

Reputation: 437632

If you want the actual value, you'd just look at the frame of the view. Yes, when using auto layout, you shouldn't be manually changing the frame, but if you want to see where the view is, just examine the frame property.

Upvotes: 3

Related Questions