【问题标题】:Rounded UIBarButtonItems圆形 UIBarButtonItems
【发布时间】:2010-10-19 08:53:49
【问题描述】:

我需要将 UIBarButtonItem 进行四舍五入。在 xib 中,即使指定为带边框的样式属性,它也会显示一个矩形。有什么办法可以实现吗?

问候,

迪尔山

【问题讨论】:

    标签: iphone cocoa-touch iphone-sdk-3.0 ios4


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2013-09-11
      • 1970-01-01
      • 2022-01-17
      • 2016-02-14
      • 2011-02-27
      • 1970-01-01
      • 2020-12-17
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多