【问题标题】:How can I assign the UIBarButtonSystemItemAction icon to a UIButton?如何将 UIBarButtonSystemItemAction 图标分配给 UIButton?
【发布时间】:2010-02-08 21:45:11
【问题描述】:

我在 UITableViewCell 中有一个 UIButton,我想将标准的“操作”图标分配给这个按钮。

此图标通常通过将图标分配给 UIBarButtonSystemItemAction 与 UIBarButtonItem 相关联,但是我无法将 UIBarButtonItem 添加到 UITableViewCell 的视图中,因此我想知道是否可以将此图标分配给普通 UIButton?

谢谢,

保罗

【问题讨论】:

    标签: iphone uibutton


    【解决方案1】:

    无法通过当前 3.1.3(或更低)的 iPhone SDK 实现。您必须在 Google 周围搜索图片,或者自己制作,然后将其放在按钮上。

    【讨论】:

    • 感谢您的反馈。至少现在我知道我必须采取哪种方法了。
    • 有人知道 iOS 6 是否可以实现吗?
    猜你喜欢
    • 2020-12-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-08-09
    • 1970-01-01
    • 1970-01-01
    • 2017-12-26
    • 2016-07-14
    相关资源
    最近更新 更多