Reputation: 21
When I am displaying a NSViewController
as NSPopover
, I am getting an arrow with this NSPopover
. My question is how we can remove this arrow from NSPopover?
Upvotes: 2
Views: 1132
Reputation: 608
I am not aware of any Apple, built-in functionality to do so. However, it is possible to mimic the functionality of NSPopover and have more advanced control. For example, the SFBPopovers library seems a very good choice and has a setDrawsArrow: method: https://github.com/sbooth/SFBPopovers
Here is a picture from the example application with a popover with no arrow coming from the "Toggle Popover" button.
Upvotes: 1