0
votes

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?

1

1 Answers

0
votes

Reduce your target developement to lower than iOS 6 and it will work. Just a wild guess.:)