Bounds and Frame size in viewDidLoad
问题 I push a view controller ( mainVC ) and add some subviews to it. Most of these views are built on-demand, as the user takes some action. When I build each view, I refer to mainVC.view.bounds to size the view. The ones that are built on demand size just fine, but the first one (which I add in viewDidLoad ) does not seem to account for either the hidden navigation bar or the unhidden toolbar - I'm not sure which. Other questions seem to assure me that viewDidLoad is the correct place to refer