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

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -