title: present modal a ViewController inside navigationController
body: <p>I  have a view(which inherits the navigationController property) but when I click an image inside this video I need to present a viewController modally.</p>
  
  <p>Looking in here: <a href="https://stackoverflow.com/questions/3477809/navigation-view-in-modal-view">Navigation View in Modal View</a> I did this way:</p>
  
  <p>*I created a new navigationController having as root the view that I need to present and presented modally my new navigationController**</p>
  
  <pre><code>moviePlayer = [[[CustomMoviePlayerViewController alloc] initWithPath:path1] autorelease];
  navigationController1 = [[UINavigationController alloc] initWithRootViewController:moviePlayer];
  [self.navigationController presentModalViewController:navigationController1 animated:YES];
  </code></pre>
  
  <p>Well here it is-This is how my screen looks like before presenting modally the new navigationController.
  <a href="https://i.stack.imgur.com/IPQFT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IPQFT.png" alt="enter image description here"></a>
  </p>
  
  <p>then I do this:</p>
  
  <pre><code>[self.navigationController presentModalViewController:navigationController1 animated:YES];
  </code></pre>
  
  <p>an present my navigationController.</p>
  
  <p>And when I dismiss the navigationController my screen looks like here:
  <a href="https://i.stack.imgur.com/5I0v4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5I0v4.png" alt="enter image description here"></a>
  </p>
  
  <p>My header and footer dissappear.Any solution for this.Thank you!</p>