ios - Customization of UIBarButtonItem and interface rotations -
there lot of talks customization of uibarbuttonitem
custom view uibutton. it's quite clear. didn't find far though, , surprises me, there no mentioning custom uibarbuttonitems handle interface rotations - common behavior when rotate iphone, bar buttons squeezed vertically. however, if customize uibarbuttonitem in ordinary way (by calling initwithcustomview:
method), stay non-squeezed after rotating landscape orientation. there workarounds that?
well, i've found solution handling uiapplicationdidchangestatusbarorientationnotification
in custom uibarbuttonitem
class pretty decent.