I'm using the method posted here to adjust the size of my toolbar when rotating the device. This works well and it shows the appropriate size including icon size etc.
However, when I present a view controller with [self presentViewController:theViewController animated:YES completion:nil];
, the toolbar height gets set back to 44px instead of 32. It's easy to see that the size increase already happens when presenting the view controller as it's already taller during the animation. It also remains tall after dismissing the view controller. The app targets iOS 6. Just in case that might be related.
Is there a way to keep the smaller size in landscape?