草庐IT

descLabel1

全部标签

iphone - 无法在 UITableview 的单元格内单击 UIButton

已经搜索了一些可能的修复方法,但都没有解决我的问题。我一直单击uitableview中的单元格而不是其中的按钮。这是我的代码:-(UITableViewCell*)tableView:(UITableView*)tableViewcellForRowAtIndexPath:(NSIndexPath*)indexPath{staticNSString*CellIdentifier=@"Cell";UITableViewCell*cell=[tableViewdequeueReusableCellWithIdentifier:CellIdentifier];if(cell==nil){ce

iphone - 无法在 UITableview 的单元格内单击 UIButton

已经搜索了一些可能的修复方法,但都没有解决我的问题。我一直单击uitableview中的单元格而不是其中的按钮。这是我的代码:-(UITableViewCell*)tableView:(UITableView*)tableViewcellForRowAtIndexPath:(NSIndexPath*)indexPath{staticNSString*CellIdentifier=@"Cell";UITableViewCell*cell=[tableViewdequeueReusableCellWithIdentifier:CellIdentifier];if(cell==nil){ce