Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users

    didReceiveButtonDoubleClick iOS not working

    Developers
    2
    2
    1466
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • csizijano
      csizijano last edited by

      On iOS,
      Just received today a new flic button
      All the delegates are working ( up, down, click, hold) except for the doubleClick

      the 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?

      1 Reply Last reply Reply Quote 0
      • narayanarao35
        narayanarao35 last edited by

        Hi csizijano
        You need set triggerBehavior for SCLFlicButton as clickAndDoubleClickAndHold like below
        button.triggerBehavior = .clickAndDoubleClickAndHold

        1 Reply Last reply Reply Quote 0
        • First post
          Last post