Bounds height changes


While working on the Gold Challenge for this chapter I decided to check the bounds.size.height value as my button’s vertical position wasn’t correct when loading. So I used an NSLog to show me the bounds height. I used this in the viewDidLoad: method as well as the willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration method. The viewDidLoad: method shows the height as 548. However, the value shown in the willAnimate… method shows 460. What gives?