我在表格View单元格中有一个按钮。我希望按钮最初有一个图像“A”,当用户点击它时,它变成“B”,当用户再次点击它时它又变回“A”。在这个场景中让两张图片分别为“A”和“B”我无法使用tag,因为我使用它来确定用户使用indexPath.row单击了哪个按钮下面是我的按钮功能的当前状态。@IBActionfuncsetNotification(sender:UIButton!){cell=tableView.cellForRowAtIndexPath(NSIndexPath(forRow:sender.tag,inSection:0))as!CustomTableViewCellsen