How do I get the frame of a subview in the ToViewController during animateTransition:?
Call layoutIfNeeded, not layoutSubviews, to force a layout pass. Then the frame should be updated.
Call layoutIfNeeded, not layoutSubviews, to force a layout pass. Then the frame should be updated.