草庐IT

clickedButtonIndexPath

全部标签

ios - 检测点击包含多个部分的 UITableView 的 UITableViewCell 中的按钮

我想检测UITableViewCell上的按钮点击,其中父UITableView由多个部分组成。我能够在单个部分的情况下做到这一点,但我在确定多个部分的正确部分时遇到了麻烦。我正在尝试确定与用户点击按钮的UITableViewCell对应的正确部分。问题解决后更新代码如下:@property(strong,nonatomic)NSMutableArray*quantityArray;@property(strong,nonatomic)NSMutableArray*rows;@synthesizequantityArray,rows;-(void)viewDidLoad{[superv

ios - 检测点击包含多个部分的 UITableView 的 UITableViewCell 中的按钮

我想检测UITableViewCell上的按钮点击,其中父UITableView由多个部分组成。我能够在单个部分的情况下做到这一点,但我在确定多个部分的正确部分时遇到了麻烦。我正在尝试确定与用户点击按钮的UITableViewCell对应的正确部分。问题解决后更新代码如下:@property(strong,nonatomic)NSMutableArray*quantityArray;@property(strong,nonatomic)NSMutableArray*rows;@synthesizequantityArray,rows;-(void)viewDidLoad{[superv