UIPopover without any arrows

前端 未结 17 1249
说谎
说谎 2020-12-08 02:15

Is it possible to present a popover without any sort of arrows pointing somewhere?

17条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-08 02:26

    For Swift 2.0 and iOS9 the solution is:

    popoverViewController?.permittedArrowDirections = UIPopoverArrowDirection()
    

提交回复
热议问题