In swift 3, you can build a UIPopoverArrowDirection
extension for this:
extension UIPopoverArrowDirection {
public static var noArrow: UIPopoverArrowDirection {
return UIPopoverArrowDirection(rawValue: 0)
}
}
and the you can do:
popoverPresentationController!.permittedArrowDirections = .noArrow