title: Loading UIViewController in UIImage
body: <p>I am using a swipe gesture code to flip an image, which calls this code:</p>
  
  <pre><code>- (void)rightSwipeHandle:(UISwipeGestureRecognizer*)gestureRecognizer {
      for (UIImageView *imageView in imageArray)
      {
  
          if (([imageView isKindOfClass:[UIImageView class]] &amp;&amp; imageView.tag == ((UISwipeGestureRecognizer *)gestureRecognizer).view.tag))
          {
              [UIView transitionWithView:imageView duration:0.5
                     options:UIViewAnimationOptionTransitionFlipFromRight animations:^{
                         //imageView.image = secondImage;
                     } completion:^(BOOL f){
                         UIStoryboard *sb = [UIStoryboard storyboardWithName:@"PhotoViewControllerStoryboard" bundle:nil];
                         UIViewController *vc = [sb instantiateInitialViewController];
                         vc.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
                         [self presentViewController:vc animated:YES completion:NULL];
                         vc.view.frame = CGRectMake(343, 163, 316, 546.5);
  
                  }
              ];
          }
      }
  }
  </code></pre>
  
  <p>The flip works correctly, but when the animation is over, the view controller loads in a black background. I want it to load in the <code>UIImage</code> like if it was the backside of the image. How can I do this??</p>
  
  <p>EDIT:</p>
  
  <p><img src="https://i.stack.imgur.com/AjhUA.png" alt="enter image description here"></p>