Closed austboston closed 10 months ago
This is awesome, thanks for sharing! Is there someway to have the button perform an action when simply tapped, but open the menu when it is tapped and held? Similar to the floating button on Twitter. Any ideas? Thanks! Austin Blake
you could remove the tap action
actionButton.removeTarget(actionButton, action: nil, for: .touchUpInside)
and handle the opening and closing of the button yourself.
Hope that helped. Closing this for now.
This is awesome, thanks for sharing! Is there someway to have the button perform an action when simply tapped, but open the menu when it is tapped and held? Similar to the floating button on Twitter. Any ideas? Thanks! Austin Blake