【发布时间】:2010-02-08 21:45:11
【问题描述】:
我在 UITableViewCell 中有一个 UIButton,我想将标准的“操作”图标分配给这个按钮。
此图标通常通过将图标分配给 UIBarButtonSystemItemAction 与 UIBarButtonItem 相关联,但是我无法将 UIBarButtonItem 添加到 UITableViewCell 的视图中,因此我想知道是否可以将此图标分配给普通 UIButton?
谢谢,
保罗
【问题讨论】:
我在 UITableViewCell 中有一个 UIButton,我想将标准的“操作”图标分配给这个按钮。
此图标通常通过将图标分配给 UIBarButtonSystemItemAction 与 UIBarButtonItem 相关联,但是我无法将 UIBarButtonItem 添加到 UITableViewCell 的视图中,因此我想知道是否可以将此图标分配给普通 UIButton?
谢谢,
保罗
【问题讨论】:
无法通过当前 3.1.3(或更低)的 iPhone SDK 实现。您必须在 Google 周围搜索图片,或者自己制作,然后将其放在按钮上。
【讨论】: