title: Custom UIStoryboardSegue - UIViewController supportedInterfaceOrientations never call
body: <p>I have a problem creating a custom segue: I'm overriding the "perform()" method as follows </p>
  
  <pre><code>override func perform() {
      if !isBack {
          self.destinationViewController.view.frame = CGRectMake(self.sourceViewController.view.frame.width, 0, self.sourceViewController.view.frame.width, self.sourceViewController.view.frame.height)
          self.sourceViewController.view.addSubview(self.destinationViewController.view)
          self.sourceViewController.addChildViewController(self.destinationViewController)
          print("Source: \(self.sourceViewController) ---&gt; Destination: \(self.destinationViewController)")
          UIView.animateWithDuration(0.5, animations: { () -&gt; Void in
              self.destinationViewController.view.frame = CGRectMake(0, 0, self.destinationViewController.view.frame.width, self.destinationViewController.view.frame.height)
              }, completion: { (bolean) -&gt; Void in
                  print("Animation Completed")
          })
  
      }else{
          print("Source: \(self.sourceViewController) ---&gt; Destination: \(self.destinationViewController)")
          UIView.animateWithDuration(0.5, animations: { () -&gt; Void in
              self.sourceViewController.view.frame = CGRectMake(self.sourceViewController.view.frame.width, 0, self.sourceViewController.view.frame.width, self.sourceViewController.view.frame.height)
              }, completion: { (bolean) -&gt; Void in
                  print("Animation Completed")
  
                  self.sourceViewController.view.removeFromSuperview()
          })
      }
  </code></pre>
  
  <p>Everything runs fine but, at this point, the rotation method in "destinationViewController" are not being called. So, if I lock "sourceViewController" to portrait mode while leaving the "destinationViewController" unlocked the latter doesn't rotate.</p>
  
  <p>Assuming the problem resides in this line:
  <code>self.sourceViewController.view.addSubview(self.destinationViewController.view)</code>
  how should I change the code to fix the rotation?</p>