title: dismissViewControllerAnimated:completion: Push to another ViewController
body: <p>I'm just wondering if it's possible to push to a ViewController right after I dismissed one.</p>
  
  <p>I've been trying with this: </p>
  
  <pre><code>     -(void)dismiss{
      //send information to database here
  
      [self dismissViewControllerAnimated:YES completion:^{
                      NSLog(@"Dismiss completed");
                      [self pushtoSingle:post_id];
                  }];
  }
  
  -(void)pushtoSingle:(int)post_id{
      Single1ViewController *svc = [self.storyboard instantiateViewControllerWithIdentifier:@"SingleView"];
      svc.post_id = post_id;
      svc.page = 998;
      [self.navigationController pushViewController:svc animated:YES];
  }
  </code></pre>
  
  <p>And this:</p>
  
  <pre><code>    -(void)dismiss{
  
  //send information to database here
  
  [self dismissViewControllerAnimated:YES completion:^{
                      NSLog(@"Dismiss completed");
                      Single1ViewController *svc = [self.storyboard instantiateViewControllerWithIdentifier:@"SingleView"];
                      svc.post_id = post_id;
                      svc.page = 998;
                      [self.navigationController pushViewController:svc animated:YES];
                  }];
  }
  </code></pre>
  
  <p>But with no success. The view is successfully is dismissed but the push is never initialized..
  Is there another known way around the problem?</p>