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

  • Home
  • SEARCH
  • 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 8242039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T21:02:14+00:00 2026-06-07T21:02:14+00:00

When I start UIActivityIndicatorView using StartAnimating method: [ActivityIcon startAnimating]; it disable all user interactions

  • 0

When I start UIActivityIndicatorView using StartAnimating method:
[ActivityIcon startAnimating];

it disable all user interactions so when the user Tap on Cancel button which should abort the download process and hide the UIActivityIndicator it does not work!!!

any suggestions would be appreciated.

Edit:
I am using separate thread to download the files in the background. All progress reporting and UI interaction I made it through:

[self performSelectorOnMainThread:@selector(RefreshScreen:) withObject:nil waitUntilDone:YES];

and RefreshScreen method is the one who interact with the UI elements.

  • 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-07T21:02:18+00:00Added an answer on June 7, 2026 at 9:02 pm

    try change this line: [request startSynchronous]; to: [request startAsynchronous];

    EDIT

    - (IBAction)grabURLInBackground:(id)sender
    {
       NSURL *url = [NSURL URLWithString:@"http://allseeing-i.com"];
       ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:url];
       [request setDelegate:self];
       [request startAsynchronous];
    }
    
    - (void)requestFinished:(ASIHTTPRequest *)request
    {
       // Use when fetching text data
       NSString *responseString = [request responseString];
    
       // Use when fetching binary data
       NSData *responseData = [request responseData];
    }
    
    - (void)requestFailed:(ASIHTTPRequest *)request
    {
       NSError *error = [request error];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In a method, i start the UIActivityIndicatorView to start. and then use NSXMLParser to
I start Firefox (Linux) via command line using a cron-job. When there is no
I start dicoverig C# today ... as you know there is some difuculties using
Start a new web application using NetBeans 7 on GlassFish 3.1 In index.xhtml body
Start with three variables, all are System.DateTime. a: 10/2/2009 2:30:00 PM b: 10/2/2009 2:30:00
Today start using the new version of Netbeans 7.1.2, I get the below notice
I start 2 tornado instances, eg. tornado-8000 and tornado-8001, using nginx upstream. When I
I have this method: -(IBAction)clickedDone; { UIActivityIndicatorView *spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge]; spinner.center =
My UIActivityIndicatorView always crashes my app. When I press my download button, the indicator
Start learning Ajax (and jQuery), I encounter the issue with post form data, which

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.