- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath {
data_web *current_data ;
current_data = [[structured_question data_webs] objectAtIndex:indexPath.row];
NSString *is_submited = [NSString stringWithFormat:@"%@",[current_data content_2]];
if ([is_submited compare:@"Y"] == NSOrderedSame)
cell.accessoryType = UITableViewCellAccessoryCheckmark;
else
cell.accessoryType = UITableViewCellAccessoryDetailDisclosureButton;
}
以上是我的脚本。我的脚本有问题,我找不到解决方案。