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.


Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -