Closed dukhanov closed 8 years ago
You need to set the triggerBehavior property of the button to SCLFlicButtonTriggerBehaviorClickAndDoubleClickAndHold
Thanks it helped.
If I understood correctly, I need to set triggerBehavior property of the button in didGrabFlicButton
method. Is it correct?
yes, that is correct. You can all the button configuration in the didGrabFlicButton callback since the settings will be remembered.
I am trying to subscribe to a double click event, But a double click event never happens. I've forked your repository, and added subscribers to events
buttonClick
event is happenedbuttonHold
event is happenedbut
buttonDoubleClick
never is happenedIf I double click on flic, I received two
buttonClick
events instead onebuttonDoubleClick
eventCould you tell me what am I doing wrong?
https://github.com/dukhanov/ios-boilerplate-objc/commit/5288d40690ef7f9e26a20dd0cfaa1c638069d7a8