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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:00:22+00:00 2026-05-16T18:00:22+00:00

I have created scroll view and set the buttons in the scroll view. The

  • 0

I have created scroll view and set the buttons in the scroll view. The buttons are scrolling horizontally. I created table view as subview for view controller. On clicking the buttons, the datas are displaying in the table view from RSS feeds using XML Parsing. SO changing the datas in the table view which depends the button clicking. When i changed to select the next button, the parsing will be started and displayed the datas. so it takes some times. In the mean time i want to display some view or disable the view(that means,on that parsing time the view is disable or user cant do anything like freeze with activity indicator). On changing the each buttons, the action will be happened. I referred some tutorials, but i cant get any idea? Some people told me to use synchronous method to solved the problem. But i don’t have any idea about it. Please guide me and help me out.Give me some sample apps and Links.

see my below image,

Image

Thanks in Advance!

Regards,
Pugal

  • 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-16T18:00:23+00:00Added an answer on May 16, 2026 at 6:00 pm

    Don’t use synchronous network calls to disable user input. Whoever suggested that gave you very bad advice.

    If you just want to disable input for your current view and its subviews, you can do self.view.userInteractionEnabled = NO; in your view controller.

    If you want to disable input for the entire window, you can do self.view.window.userInteractionEnabled = NO;

    You won’t need to disable user interaction at all if you overlay a full-screen view on top of your user interface. Based on your mock-up image, I think this is what you’re trying to do. To do this, you can do something like this:

    self.overlayView = [[[UIView alloc] initWithFrame:self.view.window.bounds] autorelease];
    self.overlayView.backgroundColor = [UIColor blackColor];
    self.overlayView.alpha = 0.5f;
    [self.view.window addSubview:self.overlayView];
    self.activityIndicator = [[[UIActivityIndicator alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhite] autorelease];
    self.activityIndicator.center = self.view.window.center;
    [self.view.window addSubview:self.activityIndicator];
    [self.activityIndicator startAnimating];
    self.activityLabel = [[[UILabel alloc] initWithFrame:CGRectZero] autorelease];
    self.activityLabel.text = @"Loading...";
    [self.activityLabel sizeToFit];
    self.activityLabel.center = CGPointMake(self.activityIndicator.center.x, self.activityIndicator.center.y - self.activityIndicator.frame.size.height);
    [self.view.window addSubview:self.activityLabel];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a two column TableLayout as the only child of a scroll view.
I have created a custom ArrayAdapter to display data within ListView items from an
I am working on an app which uses a UIScrollView to scroll through a
I'm attempting to create a grid style view (similar to NSCollectionView ), except using
I have an app that loads multiple thumbnail images into a UIScrollVIew. This is
I have an NSTextView in an NSScrollView , and I am programmatically inserting an
My post is in regards to http://www.thepostboard.net I need to make the black box
Stackoverflow seems to be one of the most authoritative and easy to use technical
OK, so I am learning to use UIScrollView in interface builder. since the scrollView
I'm using a UIScrollView to hold a varying number of images sized at 80x80,

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.