Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

customize uipopovercontroller in ipad

i want to change the image of popover. it is having blue tint at the top so i want it to be of different color. how can i do it...

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

can i do it with this method.. make my own view and place a image in that view.

i read in some posts that it is not possible to change color and also i didnt fine any instance method of UIPopOverController class to do this..

thanks in advance.

like image 676
Jaimin Avatar asked Dec 07 '25 10:12

Jaimin


1 Answers

You cannot customize a popover the way you want. The view you see is the popover's content. Popovers are always the way it is, black.

like image 195
Duck Avatar answered Dec 10 '25 11:12

Duck



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!