Is there any way to show UIButton contextual menu using a UIAccessibilityCustomAction ?
How to show UIContextMenu using UIAccessibilityCustomAction
I am not sure there is a way to programmatically display a context menu, however VoiceOver users should be able to bring up a context menu with a triple tap gesture, so there shouldn't be a need to use a custom action to display it. Instead, consider making the actions inside of your context menu each a custom action individually. For example, if your context menu has options "like" and "subscribe" you might want a custom action for each of those selections instead.