In my iOS app I'm using auto layout to adjust my view's width to its parents by settings it constraint to trailing, leading, top and bottom to 0.
I want to do some calculation based on the width of the view, however I cannot seem to find the right event where the view's new width is calculated from it's layout. It always stuck on 600 including in events like layoutSubviews or updateConstraints.
What is the correct event? What is the correct approach?