I am having a problem with my toolbar when i change the orientation of my iPad.
i set my nib file into landscape and everything is all right but when i turned it to portrait my toolbar still has the width from the landscape orientation.
how will i make my toolbar adaptive to the orientation change to portrait?
Landscape:

Portrait:

thanks!
Try adding
UIViewAutoresizingFlexibleWidthto the toolbarautoresizingMasklike so:Or, if your doing this in the Interface Builder, make sure this horizontal bar is selected (others may be selected as well, which is fine):
More from the
UIViewClass Reference aboutautoresizingMask: