I've been using pushViewController:animated: but noticed it was deprecated, so switched over to presentViewController:.
Doing an NSLog inside of the viewWillLayoutSubviews: method, I get a width of 768, when the iPad is landscape and therefore its actual width is 1024. Turning it a few times shows the same width of 768 every time. This does not happen when I use pushViewController.
Any ideas why this isn't working as expected, and how I could fix it?