Q:

How to Get webview from UITableView didselectrowatindexpath?

I have a UITableview in this view i created uiwebview for each cell. When i tap on a cell i want the view of UIWebView. How to achieve this??
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
        static NSString * CellIdentifier = @"Cell";
        UITableViewCell *cell;
        cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
        cell.selectionStyle = UITableViewCellSelectionStyleNone;

        if(cell == nil)
        {
            cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:CellIdentifier] autorelease];
            cell.selectionStyle = UITableViewCellSelectionStyleNone;

        }
        [[cell.contentView subviews] makeObjectsPerformSelector:@selector(removeFromSuperview)];
        cell.accessoryType = UITableViewCellAccessoryNone;

        UIView *customView = [[UIView alloc]init];
        customView.transform = CGAffineTransformMakeRotation(M_PI_2);
        [customView setFrame:CGRectMake(0, 0, 1024, 768)];

        [customView setBackgroundColor:[UIColor clearColor]];

        UIWebView *menuWeb = [[UIWebView alloc]init];
        [menuWeb setFrame:CGRectMake(0, 0, 768, 1024)];
        [menuWeb setDelegate:self];
        [menuWeb setUserInteractionEnabled:YES];
        [menuWeb.scrollView setScrollEnabled:NO];
        [menuWeb setScalesPageToFit:YES];

        NSURL *url = [NSURL fileURLWithPath:[urlArr objectAtIndex:indexPath.row]];
        NSURLRequest *request = [NSURLRequest requestWithURL:url];
        [menuWeb loadRequest:request];
        [customView addSubview:menuWeb];
        [cell.contentView addSubview:customView];
        [cell setBackgroundColor:[UIColor clearColor]];

        return cell;

    }

A:

in cellForRowAtIndexPath:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{

     ....
     UIView *customView = [[UIView alloc]init];
     customView.tag = 100;
     ....
     return cell;
}

and in 
 - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {

      UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
      UIView *customView = [cell.contentView viewWithTag:100];

      for (id view in customView.subViews) {
           if ([view isKindOfClass:[UIWebView class]]) {
                UIWebView *menuWeb = (UIWebView *)view;
           }
      }
 }

hope this will help 

