Question: I use Firebase For My Store App. I want to find a Product's Details by taking a product name for the user. My JSON format looks like this:

```
 {
product :
 electronic = 
      a  = {
             pname = "iphone 5"
              pprice = "20000"
              pdescription = "Details....."  }
       b = {
           pname = "iphone  6"
              pprice = "30000"
              pdescription = "Details....."  }

 }
 cloths = 
       a =    pname = "shirt"
              pprice = "200"
              pdescription = "Details....."  }
       b = {
           pname = "pents"
              pprice = "300"
              pdescription = "Details....."  }

}

```

Now, suppose I have the name `iphone 5`, then how can I find out the other details of the product?

Answer: 
you can not tap section, you can tap rows in that section.

If you have more than one section and you want to apply different logic for both the section than add,

```
-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section 
{
    switch(section){
       case 0:
       return [array count];
       break;
       case 1:
       return [array count];
       break;
    }
}

```

So it calls only RowsInSection.
Simply you can add UIButton or UITapGestureRecognizer on section view and create your own listener method. then didSelectRowAtIndexPath method not called