Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8430981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:43:58+00:00 2026-06-10T05:43:58+00:00

I have a UIButton connected to an IBAction in Interface Builder. The Problem: The

  • 0

I have a UIButton connected to an IBAction in Interface Builder.

The Problem:

  • The action firing and the de-highlight of the button both take a little bit to happen.

The Facts:

  • View structure:
    • View
      • 10 Buttons (connected via UIControlEventTouchUpInside to the IBAction
      • View (Subview)
        • Gesture recognizer
        • Text Field
  • The Subview has a UITapGestureRecognizer, which delaysTouchesBegan and delaysTouchesEnded both are set to NO
  • The action is happening in the main thread.
  • Testing a simple button (with no images or title, and only a simple NSLog), the result is the same

The Question:
Why are firing and the de-highlight delayed?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T05:43:59+00:00Added an answer on June 10, 2026 at 5:43 am

    In the end, I added somewhere some UIGestureRecognizer, and forgot to set delaysTouchesBegan to NO =(

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to hook up a UIButton to a IBAction in interface builder
I have MainMenuViewController with button which action is - (IBAction) goToFirstView { FirstViewController *fvc
I have a UIButton which fires a target action causing one view to transition
I have a UIButton that performs an Action when it is touched down. I
I have created an IBAction like this: -(IBAction) buttonTapped:(id)sender; and connected it to a
I have a UIButton with 2 functions: tap, and long press. A bit like
I am trying to find out why when creating an UIButton in interface builder
I have an IBAction, triggered by a UIButton. In this IBAction I connect my
In my nib file, I have an outlet connected a UIButton for the UITableViewCell.
I have a UIButton within a UIView. The button is docked on the bottom

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.