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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:06:45+00:00 2026-05-27T05:06:45+00:00

I load a portion of data from server and show it in UITableView. When

  • 0

I load a portion of data from server and show it in UITableView. When the user scrolls tableView to the bottom of tableView (last cell), I load next portion of data and show it in new cells in tableView (add new cells).

My goal is to show in the bottom cell activity indicator while the data is loading from the server. Is there any standard beautiful and elegant way of implementation? I searched a lot, but found no answer.

Thanks a lot for the answer!

  • 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-27T05:06:46+00:00Added an answer on May 27, 2026 at 5:06 am

    I keep a BOOL isLoadingData in my data model that tracks when data is loading. My tableViewController observes this property via KVO and updates the tableView. I’ve used the following methods to show the activity indicator.

    1. in tableView:viewForFooterInSection:, if isLoadingData = YES return a view that contains a UIActivityIndicatorView and a UILabel indicating that data is loading. Otherwise return nil.

    2. if isLoadingData = YES, in numberOfSectionsInTableView: add additional section to the count and return 1 for this section in tableView:numberOfRowsInSection:. In tableView:cellForRowAtIndexPath return a “loading” cell that contains a UIActivityIndicatorView and a UILabel.

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

Sidebar

Related Questions

ViewA load some data from Coredata, then push to the next viewB . In
I load data into my grid using a WCF service. When a user clicks
I am using following code to get data from database and load to picture
I load a UIWebView from a string in a navigation based app. I'm using
Given a 1 TB relational database, currently in SQL Server. The data warehouse needs
I am attempting to get Hibernate to lazy load some clobs. The loading portion
I'm using CKEditor to created the portion of my CMS for the user to
load() just returns a proxy by default and database won’t be hit until the
I load a single instance of a window on php-gtk, I have a button
I load content via Ajax and then I'll have element like $('.my_content_class') and I

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.