title: dismissViewControllerAnimated not being called on iPhone
body: <p>I have the following code where I am trying to show a PDF preview. It words perfectly on an iPad however when I am trying to do it on a iPhone it dosnt work.</p>
  
  <pre><code>QLPreviewController* preview = [[QLPreviewController alloc] init];
          preview.dataSource = self;
          [self dismissViewControllerAnimated:YES completion:^{
              [self presentViewController:preview animated:YES completion:nil];
          }];
  </code></pre>
  
  <p>The thread on the iPhone never makes it to this line</p>
  
  <pre><code>[self presentViewController:preview animated:YES completion:nil];
  </code></pre>
  
  <p>but works fine on ipad.. I am not sure what to even look at. Any help would be appreaciated.</p>