title: Frustrated with view initialization in loadView
body: <p>I do everything programmatically when developing for the ios, so I manually initialize the view controllers view in loadView for all of my view controllers (this is what Apple says to do). What frustrates me about doing it this way is the viewcontrollers frame initially is {{0, 20}, {320, 460}} not correctly accounting for any navbars or tabbars I have in my app. The view finally sets its proper frame in viewDidAppear, but by that time it's too late to do anything. Is there anyway to make it recognize the view layout earlier without having calculate it manually? </p>
  
  <p>It's frustrating because I always have to manually check to see if the phone is in landscape or portrait mode to account for rotation, and if I have to set up my subviews in a specific way that I can't do with autoresizing, then I also have to do manual calculations. </p>
  
  <p>Is there any pattern that apple recommends for doing this, or is there anyway to get it to recognize the view layout earlier without having to calculate it manually? </p>