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

  • Home
  • SEARCH
  • 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 1113809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T02:54:41+00:00 2026-05-17T02:54:41+00:00

Looking through the documentation , it seems that the new advanced gestures API doesn’t

  • 0

Looking through the documentation, it seems that the new advanced gestures API doesn’t determine the direction of a swipe beyond the basic { left, right, up, down }.

I need the start point of the swipe and the direction.

Is there anyway to retrieve this other than coding my own advanced gesture library from scratch out the basic gestures?

And if this is my only option, could anyone point me to some open source code that does this?

  • 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-05-17T02:54:42+00:00Added an answer on May 17, 2026 at 2:54 am

    Got it! Documentation is here, under ‘Creating Custom Gesture Recognizers‘ at the bottom.

    Basically the six gestures Apple provides all derive from UIGestureRecognizer, and you can make your own gesture recogniser in the same way.

    then, inside your view’s init, you hook up your recogniser. and just the act of hooking it up automatically reroutes incoming touch events.

    Actually, the default behaviour is to make your recogniser an Observer of these events. Which means your view gets them as it used to, and in addition if your recogniser spots a gesture it will trigger your myCustomEventHandler method inside your view (you passed its selector when you hooked up your recogniser).

    But sometimes you want to prevent the original touch events from reaching the view, and you can fiddle around in your recogniser to do that. so it’s a bit misleading to think of it as an ‘ observer ‘.

    There is one other scenario, where one gesture needs to eat another. Like you can’t just send back a single click if your view is also primed to receive double clicks. You have to wait for the double-click recogniser to report failure. and if it is successful, you need to fail the single click — obviously you don’t want to send both back!

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

Sidebar

Related Questions

Looking through the documentation for CFDataRef I can't see anything that will compress a
I've just been looking through the Mootools documentation and it seems to do everything
I am looking through alot of the Knockout JS documentation available, however it doesn't
I have been looking through the documentation for the API and not sure if
I am interested in using a DataObject and have been looking through the documentation.
I was looking through the Java documentation, and I came across the clear() method
I'm looking through the Vows documentation and in several places it uses the syntax
Looking through a few SQL implementations, I noticed that most DBMSs support defining an
I was looking through the DXUTCore project that comes with the DirectX March 2009
So, I've been toying around with Flash, browsing through the documentation, and all that,

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.