In Storyboard, I have a UIToolbar on a UIViewController.
The UIBarButtonItems are:
Left Button / Flexible Button / Nutton 2 / Button 3 / Button 4
On App start the buttons are correctly spaced on the UIToolbar with Left button left-most and Button 2-4 aligned from the right-hand edge of the toolbar.
After a rotation the buttons have not moved so that, in rotating from Portrait to Landscape, there is a lot of space to the right of Button 4.
Am I missing a setting that will automate the relayout? Do I have to add something in the function viewWillTransitionToSize:withTransitionCoordinator
?