title: Dismiss ChildView From ParentViewController
body: <p>I have a parent view that opens a child view like so:</p>
  
  <pre><code>ChildViewController *child = [[ChildViewController alloc] initWithNibName:nil bundle:nil];
  [self presentModalViewController:child animated:YES];
  </code></pre>
  
  <p>Which works perfectly fine. I need to dismiss the child view from the parent view but when I do that, nothing happens. Is it because the parent view stops all of its processes when I open the child view? Or is it my code: <code>[child dismissModalViewControllerAnimated:YES];</code> ? Thanks</p>