What framework would I use to make one of those popup menus that I see when I long press a field when I look at a Contact in Contacts. The popup menu is black. It looks like a horizontal bar with items separated by a very think vertical white line between each item. When I press a field while viewing a Contact, the menu gives an option to Copy and another option for iPhone to Speak.
How do I make a pop-up menu in iOS?
If I understand correctly your question, this should help:
As of iOS 16 you want to look into UIEditMenuInteraction
. Prior to iOS 16 this was handed by UIMenuController
.