Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the arrow color in UIPopoverPresentionController iOS 8? [duplicate]

Question says it all. Does anyone know any tricks to change it from the standard grey color?

like image 627
SleepsOnNewspapers Avatar asked Sep 26 '22 21:09

SleepsOnNewspapers


1 Answers

The simplest way is to set the popover presentation controller's backgroundColor. If that isn't good enough, you can set its popoverBackgroundViewClass, which gives you total command of the chrome including the arrow (but is a lot more work to implement).

like image 158
matt Avatar answered Sep 30 '22 06:09

matt