0
도청되면 내 UITableVieCell에 accessoryView를 동적으로 추가하고 있습니다. 셀 강조 표시가 accessoryView를 차단하고있는 것으로 보입니다. 다른 테이블 셀을 두드려 하이라이트가 사라질 때까지 내 acessoryView를 보지 못합니다.표 셀의 accessoryView를 강조 표시 맨 위에 표시하는 방법은 무엇입니까?
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
[tableView selectRowAtIndexPath:indexPath
animated:YES
scrollPosition:UITableViewScrollPositionNone];
UITableViewCell* cell = [tableView cellForRowAtIndexPath:indexPath];
cell.textLabel.text = @"Loading server stuff";
UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
CGRect frame = CGRectMake(0.0, 0.0, 20, 10);
button.frame = frame;
button.backgroundColor = [UIColor redColor];
cell.accessoryView = button;
}