I have a view controller that has a button Show Detail. I want to implement a segue to show detail as a popover presentation segue. I control dragged the button to link to the view controller that contains detail information. But the popover will only be triggered when the button is touched. 

Is there any way to trigger that segue when the button is focused and dismissed when not focused?