I have UIViewone that has auto-layout limitations. I create it with a frame CGRectZero. So I'm not a real size. This will depend on the supervisor.
UIView
CGRectZero
But I want to know when my view gets a frame that I can use for my calculations.
Therefore, you do not need to know anything about the frame. Although, if you needed to know, you can simply implement it -layoutSubviewsin your view or -viewDidLayoutSubviewsat the controller level.
-layoutSubviews
-viewDidLayoutSubviews
super , AutoLayout .
super
# 7 : .
AutoLayout .