0

I'm trying to create a 'Refresh' button containing the standard UIBarButton refresh system glyph, which, when tapped, will animate a custom view, then fire another selector to call the intended refresh action.

I know I could do this with images and two inner views added to a custom view, but is there any way to do it with the standard glyphs from UIBarButtonItem? Are they available at all for UIButtons?

4

1 回答 1

0

在创建 iOS 应用程序时,我找不到 UIBarButtonItem 的“刷新”按钮。我必须取一个圆角矩形按钮并将其放在右上角并创建一个自定义图像以覆盖它。

编辑:您可以在 IB 中找到它。添加 UIBarButtonItem 时,选择它,然后选择属性检查器选项卡。单击标识符下拉菜单,其中有一个选项可以将按钮更改为看起来像系统刷新按钮。

于 2012-04-03T14:17:49.243 回答