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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:09:10+00:00 2026-06-03T00:09:10+00:00

I have a UIPageControl that has 24 pages. Each page features a UITableView. A

  • 0

I have a UIPageControl that has 24 pages. Each page features a UITableView. A user can press buttons at the top of the screen to refresh the data (all 24 pages).

Calling reloadData on all pages causes a 3 second delay, but the data is refreshed and they can scroll through the UIPageControl and see fresh data. Calling reloadData on the current page is fast but only updates the page in question. When the user goes to the next page, the data is old/wrong.

My “fix” is to implement a system whereby I call reloadData on pages just before the user scrolls to them, one at a time, and keep track of which pages are fresh and which aren’t.

Is this the correct approach in a UIPageControl situation with a relatively large number of pages or am I misusing UIPageControl, using an incorrect way to refresh the pages, or something else.

I really appreciate your advice on fixing this performance issue.

Thanks.

  • 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-03T00:09:12+00:00Added an answer on June 3, 2026 at 12:09 am

    I’m not sure that what you’re describing is a best practice, but I’m going to assume that you know what you’re doing and have figured out a workable solution (something not everyone here will assume).

    I wasn’t quite sure based on your comment/question, but it seems like you’re already attempting to make an effort to only load data dynamically in a lazy fashion. If that’s the case, I likely have little to add, but here are a few ideas:

    1. In the Apple UIPageControl example, each time the UIScrollView delegates calls its scrollViewDidScroll: method, they load the current page, the previous page and the next page (handling, of course, for first and last page cases, where previous/next might not exist). Perhaps you could, in this method, call the [tableView reloadData].

    2. If you find you must load all 24 each time the page loads, perhaps you could call [tableView reloadData] immediately and then iterate through the other pages, reloading their data one at a time, waiting for one page to complete before loading the next.

    Number 1 seems like an elegant way to have the data ready much more quickly.
    Number 2 feels like a very kludgy hack to me, so I’d really try to see if number 1 would work.

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

Sidebar

Related Questions

Have a matrix report now that has Position, Hours and Wages for a location
Have an app that can use tts to read text messages. It can also
I have a UIPageControl. When I click on a dot to change the page,
have a small javscript that users can include into their sites like so: <script
Have data that has this kind of structure. Will be in ascending order by
Have data that has this kind of structure: $input = [ { animal: 'cat',
Have a SomeLib.pro file that contains: CONFIG += debug TEMPLATE = lib TARGET =
I have page control but not navigating to other view. so please provide the
have anyone can tell me what syntax error on this actionscript (actionscript3.0)? var rotY:
I am trying to add a page control to my scroll view, and have

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.