Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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
like image 920
Travis M. Avatar asked Dec 02 '15 20:12

Travis M.


1 Answers

popoverController.permittedArrowDirections = [.up, .down]
like image 181
William T. Avatar answered Sep 28 '22 21:09

William T.