Travis M. Travis M. - 1 year ago 113
Swift Question

Set Multiple Arrow Directions on UIPopoverController in Swift

What is the syntax to set multiple arrow directions for a UIPopoverController in Swift?

Something like this:

popoverController.permittedArrowDirections = .Up | .Down

Answer Source

I believe in swift the syntax you're looking for is:

popoverController.permittedArrowDirections = [.Up, .Down]
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download