title: Call UINavigationController from subview in UITableViewCell
body: <p>I have a table view in which I have subclassed the cells. In these cells I add a subview of a UIView. When sliding the cell I add another UIView to the subclass of UITableViewCell.</p>
  
  <p>I would like to present a ModalViewController when pressing a button inside the second UIView (subview in UITableViewCell). I do not have a navigation controller in this view, therefore I am passing the navigation controller from the view controller my table view is inside of and down to my second UIView.</p>
  
  <p>Here, I call it as you normally would but nothing happens.</p>
  
  <pre><code>ComposeCommentViewController *ccvc = [[ComposeCommentViewController alloc] initWithNibName:@"ComposeCommentViewController" bundle:nil];
  [navController presentModalViewController:ccvc animated:YES];
  </code></pre>
  
  <p>Does anyone have an idea what I might do wrong or have another solution?</p>
  
  <p><strong>EDIT:</strong> This is how I set <code>navController</code></p>
  
  <p>First I pass it to my subclass of UITableViewCell.</p>
  
  <pre><code>if (feedCell == nil)
  {
      feedCell = [[FeedCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier]; 
      [feedCell setNavigationControllerForSlidedView:[self navigationController]];
  }
  </code></pre>
  
  <p>The subclass has the method <code>setNavigationControllerForSlidedView:</code> which looks like this:</p>
  
  <pre><code>- (void)setNavigationControllerForSlidedView:(UINavigationController *)navController
  {
      [feedSlidedView setNavController:navController];
  }
  </code></pre>
  
  <p>In my <code>FeedSlidedView</code> I have declared and synthesized <code>UINavigationController *navController;</code></p>