I'm trying to implement popover like that:
I've spent quite a lot of time trying to customize UIPopoverController
and UIPopoverBackgroundView
. As I understand my task is impossible with public API for popovers.
It is possible:
- To use small image with fixed corners and stretchable center, in that case I'll have stretched stripes on the side. And also I'll have image "under" the arrow.
Fill border with stripes, but in that case I don't have rounded corners. I also have annoying inner shadow inside:
backgroundImageView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"airmail_pattern"]];
Is there any other way to reuse standard popover or I have to implement that behavior using just UIViewController?
Cheers.