这应该足够简单了。
我有一个带有TableView的iPhone应用程序。如何在每个单元格的右侧添加经典的小箭头?
发布于 2020-11-30 15:56:25
在SWIFT 5中
使用
cell.accessoryType = .detailButton用于右侧的一个小信息按钮。

cell.accessoryType = .disclosureIndicator对于右侧的一个小信息箭头。

cell.accessoryType = .detailDisclosureButton用于右侧的小信息按钮和信息箭头。

在你的return cell前面
https://stackoverflow.com/questions/6322798
复制相似问题