Just to add some sugar and Swifty the code :
Extension:
extension UIPopoverArrowDirection {
static var none: UIPopoverArrowDirection { UIPopoverArrowDirection(rawValue: 0) }
}
Usage:
popoverMenuViewController?.permittedArrowDirections = .none
you can change the variable's name to fits your needs.