将小箭头添加到iPhone TableView Cell中单元格的右侧 [英] Adding the little arrow to the right side of a cell in an iPhone TableView Cell
本文介绍了将小箭头添加到iPhone TableView Cell中单元格的右侧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这应该很简单。
我有一个带有TableView的iPhone应用程序。如何将小经典箭头添加到每个单元格的右侧?
I have an iPhone app with a TableView. How do I add the little classic arrow to the righthand side of each cell?
推荐答案
只需设置相应的
Just set the respective accessoryType property of UITableViewCell.
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
有关更多可用的单元附件类型请参阅文档。
For more available cell accessory types see the doc.
这篇关于将小箭头添加到iPhone TableView Cell中单元格的右侧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文