views:

22

answers:

1

Here's my first view: alt text

When I call [self.view addSubview:theSubviewController.view]; I get this: alt text

See how it does not completely cover the first view? The UI controls respond to clicks on the left half of the screen where the view background is, but they do not on the right side of the screen. In the view controller, I have enabled shouldAutoRotateToOrientation. What do I need to do to correct this?

Thanks.

+2  A: 

Oh wow that's embarrassing. I needed to select the view controller in Interface Builder and uncheck "Resize view from NIB".

Wind Up Toy