我在 tableviewcontroller 中使用了几个静态单元格。
每个单元格都有一个细节配件。我可以在 tableviewcontroller 中使用什么方法来执行基于单击详细信息附件的逻辑?
最佳答案
您只需要让您的 tableView 委托(delegate)实现以下方法
- (void)tableView:(UITableView *)tableView accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPath
关于ios - 在 iOS 中使用静态单元格时如何访问 tableviewcell 附件详细信息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21803644/