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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T19:42:07+00:00 2026-06-16T19:42:07+00:00

I have UIScrollView and i’m using it in pagingEnabled mode. In this UIScrollView ,i’ve

  • 0

I have UIScrollView and i’m using it in pagingEnabled mode. In this UIScrollView,i’ve many images to load.So it’s impossible to load all of them. I decided to load five by five. Initially, i load five images and set their position,size and tags. So far, i’m able to do this.

Once user arrives fourth page, i need to set sixth page and remove first page from superview. For that, I’m using this method to do that.

[[self.scrollView viewWithTag:currentPage-3] removeFromSuperView];

To detect page changed event properly, i’ve used almost all of the delegate methods of UIScrollView, but when users scrolls continuously, i’ve missed pages. So, i cannot load images properly. For example,when i missed to load page 6, i cannot load page 8.

I tried to disable userInteraction mode, even if it’s set to NO,user can continue scrolling.

What i want to do is,when user did page changed, i want to disable UIScrollView to scroll until i finished loading images into UIScrollView.

Do you guys have any idea,how can i accomplish that ?

Thank you.

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

    What i want to do is,when user did page changed, i want to disable UIScrollView to scroll until i finished loading images into UIScrollView.

    If you want to disable scrolling after each page scroll, look to the UIScrollViewDelegate methods, like scrollViewDidScroll:

    http://developer.apple.com/library/ios/#documentation/uikit/reference/UIScrollViewDelegate_Protocol/Reference/UIScrollViewDelegate.html#//apple_ref/occ/intf/UIScrollViewDelegate

    Within scrollViewDidScroll: you can set scrollEnabled on the UIScrollView to NO. Once you’re images finish loading, re-enable scrolling through the same property.

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

Sidebar

Related Questions

I have a UIScrollView with pagingEnabled on and I want to (using like a
I have an UIScrollView, that contains UIImageViews. All images keep their image ratio -
I have this UIScrollView inside another UIView, not occuping the entire area (all this
I have UIScrollView and number of objects (UIView compositions) with UIImageViews inside them. Some
I have a UIScrollView filled with subviews, all is well when creating it and
I have a UIScrollView with a bunch of images. So far I have managed
I have UIScrollView on xib-file on portrait mode. When I run the application and
I have a UIScrollView subclass that I am programmatically scrolling using UIView animations. I'd
I have used UIScrollView before, and am using it now, and never had a
I have a uiscrollview with contentsize 1280*1280 and 25 images of equal size loaded

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.