2010-10-19 72 views
0

我需要使UIBarButtonItem四舍五入。在xib中,即使样式属性指定为边框,它也会显示矩形形状。是否有任何解决方法来实现这一目标?圆角的UIBarButtonItems

问候,

Dilshan

回答

1

尝试使用initWithCustomView:(UIView *)customView,其中customView是一个自定义的UIButton有一个圆形的图像。

+0

谢谢是的,它的工作原理。 – Dilshan 2010-10-29 08:16:33