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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T22:28:27+00:00 2026-06-01T22:28:27+00:00

As shown in the diagram below, my app has a few UIViews, B ,

  • 0

As shown in the diagram below, my app has a few UIViews, B, C and D, side by side, and all contained in an enveloping UIView A:

enter image description here

I have a UIPinchGestureRecognizer in each of B, C, and D. What I’d also like to do is recognize a different gesture over the entire of area A (without hindering the other gesture recognizers from working).

What’s the best strategy for this? I’m targeting iOS5+, no backwards compatability needed.

It’s also worth noting that the gesture recognizer for A will probably have to be a custom gesture recognizer, since I want to detect a pinch but with > 2 fingers involved.

Thought:

If installing a gesture recognizer for A doesn’t work well, it might be possible to do it the old way by using touchesBegan etc. As the UIResponder docs note, you can have an subclass of UIView just call [super touchesBegan:touches withEvent:event] to have it passed on in the responder chain if you’re not interested in the touch.

  • 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-01T22:28:28+00:00Added an answer on June 1, 2026 at 10:28 pm

    It turns out just adding gesture recognizers in the straightforward obvious way works, at least for the gestures I want to recognize. I imagined it would be more complicated.

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

Sidebar

Related Questions

I have 3 tables as shown in the diagram: The test data in each
I have two tables as shown in the following diagram : as you saw
In the below shown html i have this main div as cxfeeditem feeditem and
How would you build up the object graph shown in the diagram below? The
i have a db diagram as shown above. What I need to do is:
I would like to have a GUI setup like the diagram below. The JLayeredPane
I have the below UML activity diagram for a shopping cart use case. It
I have a relatively simple domain model, as shown by the diagram. I would
I am using a composite pattern as shown in the class diagram below. Basically
My assignment requires that I have an ER diagram that shows the dependencies between

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.