- (void)viewDidLayoutSubviews {
[super viewDidLayoutSubviews];
NSLog(@"viewDidLayoutSubviews view.height: %f", self.view.frame.size.height);
}
In the above, view.height
is always 1024 regardless of what orientation the device is in. Even rotating the device will cause viewDidLayoutSubviews
to be called, and it will still output 1024.
Yet the view renders fine. What the heck am I missing?