title: Segue not passing correct indexpath of row always section 0
body: <p>I'm used sectioned tableView.If I click tableview always it passing indexpath 0 to detail view controller.If I click second row but it indexpath pass always pass 0.</p>
  
  <pre><code>- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
      if ([segue.identifier isEqualToString:@"toNext"]) {
      detailTableViewController *detailVC = [segue destinationViewController];
      [detailVC setkMessageDict:(NSDictionary*)[nArray objectAtIndex:[self.mytableView indexPathForSelectedRow].section]];
  }
  </code></pre>
  
  <p>What's wrong in code?</p>