Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You do not need this:</p> <pre><code>[self.navigationController pushViewController:mdc animated:YES]; </code></pre> <p>That is what <code>Segue</code> will do automatically</p> <p>Also, you are having 3 lines that will load view controller - see below for comments:</p> <pre><code>NSInteger row=[indexPath row]; NSString *value=[device objectAtIndex:row]; MeBleDetailViewController *mdc=[self.storyboard instantiateViewControllerWithIdentifier:@"MeBleDetailViewController"]; mdc.deviceName=value; [self presentModalViewController:mdc animated:YES]; // Load ViewController [UIView commitAnimations]; [self performSegueWithIdentifier:@"TableDetails" sender:[device objectAtIndex:indexPath.row]]; // Load ViewController [self.navigationController pushViewController:mdc animated:YES]; // Load ViewController </code></pre> <p>That is why you are getting that error: <strong>nested push</strong> animation can result in corrupted navigation bar</p> <p>Also, If you have configured the segue from table cell to another view controller then you don't need anything in <code>didSelectRowAtIndexPath</code> method.</p> <hr> <p>Edit:</p> <p>Whatever data you want the pushed view controller to have - put it in <code>prepareforSegue</code> method instead of <code>didSelectRowAtIndexPath</code></p> <p>If you create a segue from table cell to view controller then you don't need to execute the following as this method is to execute the segue programmatically.</p> <p><code>[self performSegueWithIdentifier:@"TableDetails" sender:[device objectAtIndex:indexPath.row]];</code> </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload