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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:55:58+00:00 2026-05-13T13:55:58+00:00

I want to display an activity indicator when navigating form one UITableView1 to another

  • 0

I want to display an activity indicator when navigating form one UITableView1 to another UITableView2 and stop when the table is completely loaded.

I am using XML parsing to get the cell content of UITableView2.

  • 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-13T13:55:58+00:00Added an answer on May 13, 2026 at 1:55 pm

    Following code may help you…

    in .h file of UITableView2:

    declare variable

    UIActivityIndicatorView *progressInd;
    

    create property

    @property (nonatomic, retain) UIActivityIndicatorView *progressInd;
    

    and declare method

    - (UIActivityIndicatorView *)progressInd;
    

    in .m file of UITableView2:

    @synthesize progressInd;
    

    define this method (adjust x,y,width,width position)

    - (UIActivityIndicatorView *)progressInd {
    if (progressInd == nil)
    {
        CGRect frame = CGRectMake(self.view.frame.size.width/2-15, self.view.frame.size.height/2-15, 30, 30);
        progressInd = [[UIActivityIndicatorView alloc] initWithFrame:frame];
        [progressInd startAnimating];
        progressInd.activityIndicatorViewStyle = UIActivityIndicatorViewStyleGray;
        [progressInd sizeToFit];
        progressInd.autoresizingMask = (UIViewAutoresizingFlexibleLeftMargin |
                                        UIViewAutoresizingFlexibleRightMargin |
                                        UIViewAutoresizingFlexibleTopMargin |
                                        UIViewAutoresizingFlexibleBottomMargin);
    
        progressInd.tag = 1;    // tag this view for later so we can remove it from recycled table cells
    }
    return progressInd;
    }
    

    in - (void)viewDidLoad method where your parsing starts

    [self.view addSubview:self.progressInd];
    

    use following line where your parsing ends

    [self.progressInd removeFromSuperview];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When we draw the image, we want to display the activity indicator. Can anyone
i want to display my Activity Indicator in the center of the Navigation Bar.
I want to display activity indicator when user clicks on Tab Bar. How do
Hey, I want to display an activity indicator on the right corner of my
I want to display a activity indicator in AlertView with no buttons, I want
I want the display the progress dialog like activity indicator as like in iPhone,
I want to display the TIME field from my mysql table on my website,
i want to display some information in a listview using the GridView. i have
I want to display the infinity symbol using CGContextSelectFont(context, HelveticaNeue, textSize, kCGEncodingMacRoman); CGContextShowTextAtPoint(context, myCenter.x,
I want to display a real time activity bar for the microphone in flex.

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.