我怎样才能在UITableViewCell上有一个标签,但在它的右侧还有一个箭头?披露三角没有出现在我的UITableViewCell上
这是我的尝试:
} else if(indexPath.row == 1) {
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(50,0,200,21)];
label.text = @"Select to change code";
label.tag = 1;
label.textColor = [UIColor grayColor];
cell.accessoryView = label;
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
}
但它不工作。我看到标签,但没有看到电池右侧的箭头。
我想告诉你,你的问题的标题可能是不正确的...... – DreamOfMirrors 2011-05-27 11:56:40
@DreamOfMirrors - 不再事实并非如此。 – Abizern 2011-05-27 11:57:33