Claude Here is the code fragment that defines the menu;
` if #available (macCatalyst 14 , iOS 14, *) {
let items = UIMenu(title: "", options: .displayInline, children: [
UIAction(title: helpString, image: UIImage(systemName: "questionmark.circle"), handler: { _ in
guard let url = URL(string: "https://springnotes.app/help/") else {
return
}
if UIApplication.shared.canOpenURL(url) {
UIApplication.shared.open(url, options: [:], completionHandler: nil)
}
}),
UIAction(title: outlineString, image: UIImage(systemName: "circle.grid.2x2"), handler: {[unowned self] _ in self.navigatePopUp(sender: moreButton) }),
UIAction(title: settingsString, image: UIImage(systemName: "slider.horizontal.3"), handler: {[unowned self] _ in self.settingsPopUp(sender: moreButton) })
])
`