title: How can I get a correct frame of view before viewDidAppear in iOS 10?
body: <p>I built a view in an xib, but the frame I get before <code>viewDidAppear</code> is <code>{0,0,1000,1000}</code>. It's not what I want. I had set AutoLayout for the view.</p>
  
  <p>Why has this happened, and how can I get the correct frame before <code>viewDidAppear</code>?</p>
  
  <p>Thanks.</p>