title: UIView has zero width and height even though it's visible
body: <p>I have created a subclass of <code>UIView</code> and called it <code>MSMobileControlView</code>. I added a <code>UIView</code> object to my Autolayout-enabled storyboard, and assigned it's class to <code>MSMobileControlView</code>.</p>
  
  <p>Inside <code>MSMobileControlView</code> I have this code:</p>
  
  <pre><code>-(void)didMoveToSuperview
  {
      NSLog(@"self.frame: %@", NSStringFromCGRect(self.frame));
  
      UIBUtton *levelButton = [UIButton buttonWithType:UIButtonTypeRoundedRect];
      [levelButton setFrame:CGRectMake(0, 0, 150, 40)];
      [levelButton setTitle:@"Next Level" forState:UIControlStateNormal];
      [self addSubview:levelButton];
  }
  </code></pre>
  
  <p>The <code>NSLog</code> output is:</p>
  
  <pre><code>self.frame: {{0, 0}, {0, 0}}
  </code></pre>
  
  <p>However I can still see the view on the screen and the button responds to taps as expected. I have no other code associated with <code>MSMobileControlView</code>.
  What is going on?</p>