didReceiveButtonDoubleClick iOS not working
-
On iOS,
Just received today a new flic button
All the delegates are working ( up, down, click, hold) except for the doubleClickthe breakpoint never runs into the following function
func flicButton(_ button: SCLFlicButton, didReceiveButtonDoubleClick queued: Bool, age: Int)all others are fine.
(when setting an action in the flic app, eg farting for double click, that one works)Any idea guys?
-
Hi csizijano
You need set triggerBehavior for SCLFlicButton as clickAndDoubleClickAndHold like below
button.triggerBehavior = .clickAndDoubleClickAndHold