2011-09-26 36 views

回答

2

你可以做到这一点在几个方面:

  1. 以编程方式通过设置适当的值selectionStyle(UITableViewCellSelectionStyleBlue,UITa)来定制您的UITableViewCell bleViewCellSelectionStyleGray或UITableViewCellSelectionStyleNone)

    cell.selectionStyle = UITableViewCellSelectionStyleBlue;

  2. 在Interface Builder(如果你从加载文件的.xib您的细胞):

    Attribute Inspector集属性Selectionblue, gray, none

+0

,我想对于细胞的发光效果就像我们给按钮 – ishhhh

+1

这是不可能的,但如果你真的想要它,那么创建一个图像,让你感觉高亮并将其设置为该单元格的背景图像。 –

相关问题