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 7962663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T05:24:04+00:00 2026-06-04T05:24:04+00:00

In a brand new iOS project using Xcode 4.3.2, if a button has an

  • 0

In a brand new iOS project using Xcode 4.3.2, if a button has an Action created using the Interface Builder, and it prints out "button is tapped on", then all works fine.

However, when the main view is added a UITapGestureRecognizer for a single tap, then even if the button is tapped on, the main view is thought to be tapped on but the button Action won’t be called.

Is there a way to make this work? (is it recommended to not use Button Action but use a UITapGestureRecognizer for the button? But if it was a slider, then we do need the Action)

  • 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-04T05:24:06+00:00Added an answer on June 4, 2026 at 5:24 am

    Exclude the button in [UIGestureRecognizer delegate] or set cancelsTouchesInView to NO.

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

Sidebar

Related Questions

I created a brand new project using the default Web Application template and I
Brand new to django. We have a legacy django project using django 0.96x that
I am 1 week into brand new to iOS. I am using x-code to
I created a brand new project and created a new view controller with a
Brand new to Cocoa and I'm trying to figure out how to copy an
I'm brand new to Moq (using v 4) and am struggling a little with
I have a brand new MacBook (air if it matters). I have installed Xcode
Recently I've begun to code in Objective-C for iOS 5 devices. My brand new
Brand new to android and facing a weird problem.Check out the code below FirstActivity.java:
I'm brand new to learning Silverlight/XAML/C#. I'm using an ASP.NET function to pass a

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.