title: Swift 3 - adaptivePresentationStyle is never called
body: <p>I am trying to show a popover in an iPhone. I am following the suggestions that i found here and using the delegate "adaptivePresentationStyle", but this function is never called and the ViewController it will always presented in fullscreen mode. I have the "UIPopoverPresentationControllerDelegate" and the functions bellow:</p>
  
  <pre><code>override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
  
          let identifier  = segue.destination.restorationIdentifier ?? ""
          if identifier == "NavigationSetup" {
              if let destinationNav   = segue.destination as? UINavigationController {
                  let destination  = destinationNav.topViewController as! SetupTableViewController
                  destination.popoverPresentationController?.delegate = self
                  destination.popoverPresentationController?.backgroundColor  = UIColor.blue
                  if self.myApp.isIpad{
                      destination.preferredContentSize  = CGSize(width: 600, height: 620)
                  }else{
                      destination.preferredContentSize  = CGSize(width: 0.8 * self.view.frame.size.width, height: 0.8 * self.view.frame.size.height)
                  }
  
                  self.cellAnimations.fade(image: self.imageBlur, initOpacity: 0, endOpacity: 1, time: 0.3, completion: nil)
                  destination.setupDismiss = {[weak self] () in
                      if let weakSelf = self{
                          weakSelf.cellAnimations.fade(image: weakSelf.imageBlur, initOpacity: 1, endOpacity: 0, time: 0.3, completion: nil)
                      }
                  }
  
              }
          }
  
      }
      func adaptivePresentationStyle(for controller:UIPresentationController) -&gt; UIModalPresentationStyle {
          print("adaptive was called")
          return .none
      }
  </code></pre>
  
  <p>So, what i am missing here ? </p>