Change Action sheet popover arrow in iOS8

后端 未结 4 1223
挽巷
挽巷 2021-02-07 01:13

i\'m using UIAlertController . But on iPad with iOS 8, actionSheet show with popover arrow. Any ideas to hide that arrow?

Here is my code:

         


        
4条回答
  •  长发绾君心
    2021-02-07 02:05

    Jageen's answer, in Swift:

    popoverController.permittedArrowDirections = UIPopoverArrowDirection(rawValue: 0)
    

提交回复
热议问题