Custom long press pop menu
- Dominant language
- Swift
- Stars
- 4.6k
- Forks
- 588
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I almost tried every thing to add new UIMenuItem ... but without success ... please some try to help us ...
let deleteItem = UIMenuItem(title: "Delete", action: #selector(deleteLine(_:)))
UIMenuController.shared.menuItems = [deleteItem]
UIMenuController.shared.update()
I have tried to make all these func return true
canShowMenu return true
canPerformMenuControllerAction return true
but still now showing ...
Thank you
Albarq
Contributor guide
Research direction
Start by reproducing the reported long-press menu behavior with the shown UIMenuItem and UIMenuController calls, then inspect the canShowMenu and canPerformMenuControllerAction entry points mentioned. Done means identifying why the Delete item is not shown and validating the resulting behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100