title: Pop-up modal with UITableView on iPhone (follow)
body: <p>I've read the post : <a href="https://stackoverflow.com/questions/2504478/pop-up-modal-with-uitableview-on-iphone">Pop-up modal with UITableView on iPhone</a>
  and I don't understand the following part of the answer (as I can't comment the original post, I create this new question) :</p>
  
  <pre><code>UINavigationController* navController = [[UINavigationController alloc] initWithRootViewController:optionViewController];
  </code></pre>
  
  <p>Why allocate a new controller as the window from where the new optionController is called may already have one ? </p>
  
  <p>What if I just write :</p>
  
  <pre><code>OptionViewController* optionViewController = [[OptionViewController alloc] initWithNibName:@"OptionView" bundle:nil];
  [self.navigationController presentModalViewController:optionViewController animated:YES];
  </code></pre>
  
  <p>It seems to work...</p>
  
  <p>If I have a list, that goes to a detail View, from where I switch to a modify view, and then from where I call this option window, what would be the code to use to call this optionWindow ? This one ? Any other one ? I really have a problem dealing with UINavigationController between screens... (where should be defined the first one, what should be passed between screens, when may I create a new one, ...)</p>