I'm trying to get the size of my UIView
after the orientation changes. In my view controller I implement didRotateFromInterfaceOrientation:
and call setNeedsLayout:
on my view. In my view's layoutSubviews
method, it tries to perform some logic based on its new frame size post rotation, but the frame size has not been updated to reflect the new orientation (e.g. it is still 768x1024 instead of 1024x768 after moving to landscape).
How do I get the updated frame size?