Tuesday, June 30, 2026
HomeiOS Developmentconfigure faucet gesture recognizer to additionally reply to ibactions on the faucet...

configure faucet gesture recognizer to additionally reply to ibactions on the faucet location

[ad_1]

  1. I’ve a message chat field much like most chat apps. The field goes up when while you begin modifying the messagetextView.

  2. As is customary, there’s a faucet gesture recognizer that is named when the consumer faucets anyplace else, which dismisses the keyboard.

  3. I’ve one other button that’s seen subsequent to the chat field.

  4. At the moment when the consumer faucets the button, as a substitute of triggering that ibaction, it dismisses the keyboard. Then after they faucet on it once more the ibaction is named. So the consumer has to faucet twice to set off the button when the keyboard is up.

Is there a means configure the button or gesture recognizer in order that they each get referred to as when the consumer faucets in that location?

  • alternatively, is there a greater design resolution to unravel one thing like this?
  • word: I learn that on this scenario ios will both select the responder tree or gesture recognizer tree. So maybe traversing each. How?

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments