title: Popup displays as fullscreen
body: <p>I want to display a view controller inside a view controller. I'm using popup segue to do this. Second view controllers settings are like below and but It shows in fullscreen anyway.</p>
  
  <pre><code> func tappedView3() {
      // get a reference to the view controller for the popover
      let popController = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "popoverId")
  
      // set the presentation style
      popController.modalPresentationStyle = UIModalPresentationStyle.popover
  
      // set up the popover presentation controller
      popController.popoverPresentationController?.permittedArrowDirections = UIPopoverArrowDirection.up
      popController.popoverPresentationController?.delegate = self
      popController.popoverPresentationController?.sourceView = m_tumgun // button
      popController.popoverPresentationController?.sourceRect = m_tumgun.bounds
  
      // present the popover
      self.present(popController, animated: true, completion: nil)
  }
  
  // UIPopoverPresentationControllerDelegate method
  func adaptivePresentationStyleForPresentationController(controller: UIPresentationController) -&gt; UIModalPresentationStyle {
      // Force popover style
      return UIModalPresentationStyle.none
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/t8Gbm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t8Gbm.png" alt="enter image description here"></a></p>