在iOS 7中样式从plain更改为Done时,UIBarButtonItem发生了移位

时间:2013-10-08 13:12:35

标签: iphone ios6 ios7 uibarbuttonitem uitoolbar

当我将条形按钮样式从普通更改为完成时,按钮向左移动。这只发生在iOS 7中。

在Interface Builder中,我向工具栏添加了一个UIBarButtonItem,并将其样式设置为plain,将标识符设置为custom和一个Image。它的宽度设置为26。

单击按钮时,我将其样式更改为“完成”以指示其处于按下状态。在iOS 7中,按钮位置向左移动。有人对此有任何线索吗?

0 个答案:

没有答案