2
J'ai un contrôleur de vue que je veux présenter comme un popover. Comment puis-je changer sa taille?Redimensionner un contrôleur de vue PopOver
let carsViewController = CarsViewController()
carsViewController.modalPresentationStyle = .Popover
if let popoverPresentationController = a carsViewController.popoverPresentationController {
popoverPresentationController.permittedArrowDirections = .Up
popoverPresentationController.sourceView = carsButton
presentViewController(alertsViewController, animated: true, completion: nil)
}