tags:

views:

36

answers:

1

Hi

I need to call didSelectRowAtIndexPath method in UITableView again within inside the didSelectRowAtIndexPath method.

The code as follows like that

  -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath 

{

          ------ --- ----
          ------ --- ----
          ------ --- ----
          ------ --- ----


[tableView didSelectRowAtIndexPath:1];


}

If i used code as before,

It is not accept..

If there is any possible way to call "didSelectRowAtIndexPath" method inside same "didSelectRowAtIndexPath" method. Please help me.

Thanks.

A: 

I think you meant to call your delegate rather than then table.

[self tableView:tableView didSelectRowAtIndexPath:indexPath];
NWCoder