Configure uipopovercontroller in ipad

I want to change the image of a popover. it has a blue tint on top, so I want it to be a different color. How can i do this...

- (void)presentPopoverFromRect:(CGRect)rect inView:(UIView *)view permittedArrowDirections:(UIPopoverArrowDirection)arrowDirections  animated:(BOOL)animated

can i do this with this method .. take my own look and put the image in this view.

I read in some posts that it is impossible to change the color, and also I could not process any method of the instance of the UIPopOverController class.

early.

+3
source share
2 answers

You cannot configure popover the way you want. The view you see is the content of the popover. Poppors are always as they are, black.

+1
source

, , , UIPopoverView: UIPopoverBackgroundView. , .

UIPopoverBackgroundView popover. . popover. , , .

0

Source: https://habr.com/ru/post/1749886/


All Articles