Closed DGP13 closed 5 years ago
Refer to documentation: https://popmenu.calicastle.com/guide/#dismissal-callback
Example:
// The manager way
manager.popMenuDidDismiss = { selected in
// `selected` is a bool indicating if a selection has been made
if !selected {
// When the user tapped outside of the menu
}
}
Or actually you should use View Controller methods instead (if you're using Manager, it's not recommended): https://popmenu.calicastle.com/guide/#basic-usage-using-controller
I'm open agin popmenu it's show me previous select action. How to diddeselect popmenu action ?