---
title: highlightMenu
framework: sharedwithyou
role: symbol
role_heading: Instance Property
path: sharedwithyou/swattributionview/highlightmenu
---

# highlightMenu

A menu with a list of system actions specific to this hightlight.

## Declaration

```swift
var highlightMenu: UIMenu { get }
```

```swift
var highlightMenu: NSMenu { get }
```

## Discussion

Discussion Use this menu to augment an existing menu that the system attaches to the content represented by this SWAttributionView. This menu allows the user to reply to or hide the highlight. Your app needs to add this hightlightMenu inline with, and at the end of, the menu elements it augments.

## See Also

### Customizing highlights

- [backgroundStyle](sharedwithyou/swattributionview/backgroundstyle-swift.property.md)
- [displayContext](sharedwithyou/swattributionview/displaycontext-swift.property.md)
- [highlight](sharedwithyou/swattributionview/highlight.md)
- [horizontalAlignment](sharedwithyou/swattributionview/horizontalalignment-swift.property.md)
- [menuTitleForHideAction](sharedwithyou/swattributionview/menutitleforhideaction.md)
- [preferredMaxLayoutWidth](sharedwithyou/swattributionview/preferredmaxlayoutwidth.md)
- [supplementalMenu](sharedwithyou/swattributionview/supplementalmenu.md)
