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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T19:01:58+00:00 2026-06-17T19:01:58+00:00

I am subclassing a UIViewController and instantiating a UIScrollView in it’s view which has

  • 0

I am subclassing a UIViewController and instantiating a UIScrollView in it’s view which has a height of 480 and a width of 640 (2x the regular width). Paging is enabled, so it’s essentially 2 views side by side that you can see either of by swiping back and fourth. My end goal is to have my view controller notified whenever the user swipes to switch sides. I am trying to use the UIScrollViewDelegate method scrollViewDidEndScrollingAnimations:scrollView, but it’s not getting called. I have the delegate set to the view controller correctly, because the other delegate method scrollViewDidScroll:scrollView, gets called many times during a single scroll. Any ideas as to how I can fix this / accomplish what I’d like?

  • 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-17T19:02:00+00:00Added an answer on June 17, 2026 at 7:02 pm

    The problem is that the scrollViewDidEndScrollingAnimation: delegate method is not called when a swipe to a new page is completed. You’ll get multiple scrollViewDidScroll: calls while it’s actually moving to the new page, and then once it completes, it will send the scrollViewDidEndDecelerating: call that pachun mentions in another answer.

    The scrollViewDidEndScrollingAnimation: method is only called when the scrollview animates a motion after the methods setContentOffset:animated: and scrollRectToVisible:animated: are used. It doesn’t get called based on just user touches moving the scrollview (http://developer.apple.com/library/ios/#documentation/uikit/reference/UIScrollViewDelegate_Protocol/Reference/UIScrollViewDelegate.html).

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

Sidebar

Related Questions

I'm contemplating subclassing UIScrollView (the way UITextView does) to draw a fairly large amount
I'm subclassing UIScrollView and on the start I fill this ShowsScrollView with some items.
I am subclassing UIViewController to prevent code repetition of my 'masterButtons' and sets of
From my question here: Without subclassing a UIView or UIViewController: possible to catch if
I am subclassing UIApplication to intercept and display touches in my TouchDisplay view. I
Objective-C supports subclassing and categories which allow you to add methods to an existing
I'm writing my own SplitViewController from scratch (i.e. by subclassing UIViewController and not UISplitViewController
I have always thought it a pity to have the UIViewController ’s view explicitly
I am subclassing UIScrollView and adding some visual elements. At the top, there should
I'm creating a custom popover for a UIPopoverController by subclassing UIViewController to manage the

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.