I have an NSPopover application for my application, but I want to change the position of the arrow head.
What I have:

What I want:

As you can see in the second image, the NSPopover header arrow is at the top. How can i do this?
my code is:
[_popover showRelativeToRect:[sender bounds] ofView:sender preferredEdge:NSMaxXEdge];
Thanks!
Pedro vieira
source share