title: Adding detail view to UITableView
body: <p>This app is my first app using a UITableView, and I've run into issues why trying to add a detail view to it. (because I made my app a "View-based Application" when I first created it, I have to do this manually).</p>
  
  <p>This is the code for my <code>didSelectRowAtIndexPath:</code> of the table view:</p>
  
  <pre><code>detail = [[DetailViewController alloc] initWithNibName:@"DetailViewController" bundle: [NSBundle mainBundle]];
  detail.delegate = self;
  detail.dtitle = [titles objectAtIndex: indexPath.row];
  detail.dusername = [usernames objectAtIndex: indexPath.row];
  detail.dpassword = [passwords objectAtIndex: indexPath.row];
  
  [self.navigationController pushViewController: detail animated:YES];
  //[self presentViewController:detail animated:NO completion:nil];
  </code></pre>
  
  <p>The second to last line is the one causing problems. I copied it from a blank "Master-Detail Application" that I made, but it doesn't seem to work in this app as it does in the other. The commented out line is what I've been using in it's place, but isn't exactly what I want.</p>
  
  <p>What can I do to fix this?</p>
  
  <hr>
  
  <p>Secondly, in the<code>DetailViewController</code>, the back button in my title bar (the navigation item of a navigation bar, to be precise) just will not appear. Is there code I have to add to indicate that this view is a subordinate view or something?</p>