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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T17:51:27+00:00 2026-06-05T17:51:27+00:00

When a user scrolls a certain distance horizontally beyond the contentSize of my scrollView

  • 0

When a user scrolls a certain distance horizontally beyond the contentSize of my scrollView I want to ‘take over’ and run some animations. The problem is that even if I turn off user interaction as soon as this happens, the ‘drag’ operation is still ongoing. Only when the user releases his touch is interaction disabled.

Is there a way to programmatically simulate the touch up at the end of the drag? The end result should be that when my trigger fires, the user is immediately unable to manipulate the view any more.

  • 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-05T17:51:29+00:00Added an answer on June 5, 2026 at 5:51 pm

    You could temporarily set the scrollView’s scrollEnabled property to NO. (Unlike the userInteractionEnabled property, toggling scrollEnabled has immediate effect.) You can turn it back on again when your animation is done.

    From Apple’s documentation:

    scrollEnabled

    A Boolean value that determines whether scrolling is enabled.

    @property(nonatomic, getter=isScrollEnabled) BOOL scrollEnabled

    Discussion

    If the value of this property is YES, scrolling is enabled, and if it is NO, scrolling is disabled. The default is YES.

    When scrolling is disabled, the scroll view does not accept touch events; it forwards them up the responder chain.

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

Sidebar

Related Questions

How do I detect if a user scrolls downwards with jQuery? I want a
My problem is connected when the user scrolls the ListView. I looked around and
i try to build up the scrollView which can scroll certain amount of distance
We have code that will run if the user is idle for a certain
I'd like to do some fancy jQuery stuff when the user scrolls the page.
I want to make it so that a webpage automatically scrolls to a certain
When the user scrolls down on my website, I'd like to detect when the
Whenever the user scrolls map or zooms in/out, this method gets called instantaneously. I
I have an image that returns everytime the user scrolls the uitableview. This code
I am using jQuery load() to load more content when the user scrolls to

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.