performPrimaryAction()
Calls the method associated with the control’s primary action.
Declaration
func performPrimaryAction()Discussion
This method invokes the primary action for the control, whether it’s a direct action, for example, a button tap, or presents further UI, for example, a contextual menu.