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

The Archive Base Latest Questions

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

I have 4 tabs in UITabBarcontroller. My problem is i need to navigate to

  • 0

I have 4 tabs in UITabBarcontroller. My problem is i need to navigate to next tab by user click while first tab process in on going?? how to run the process on background??

Now second tab not working while the first tab view in process. I used PerformSelectorInBackground but it’s not help me?? Can any one help me Please????

Am poor in english, can you understand my problem?

Yuva.M

  • 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-22T00:16:57+00:00Added an answer on May 22, 2026 at 12:16 am

    Run your heavy process with NSThread.

    Snippet from here:

    - (IBAction) startThreadButtonPressed:(UIButton *)sender {
    
        [NSThread detachNewThreadSelector:@selector(startTheBackgroundJob) toTarget:self withObject:nil];
    
    }
    
    - (void)startTheBackgroundJob {
    
        NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
        // wait for 3 seconds before starting the thread, you don't have to do that. This is just an example how to stop the NSThread for some time
        [NSThread sleepForTimeInterval:3];
        [self performSelectorOnMainThread:@selector(makeMyProgressBarMoving) withObject:nil waitUntilDone:NO];
        [pool release];
    
    }
    
    - (void)makeMyProgressBarMoving {
    
        float actual = [threadProgressView progress];
        if (actual < 1) {
            threadProgressView.progress = actual + 0.01;
            [NSTimer scheduledTimerWithTimeInterval:0.5 target:self selector:@selector(makeMyProgressBarMoving) userInfo:nil repeats:NO];
        }
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a UITabBarController that holds several tabs of which one tab (third Tab,
I have a UITabBarController interface with 4 tabs. Each tab has a UINavigationController .
I have an application with UITabBarController, where the first tab contains a ViewController of
I've got a window with a UITabBarcontroller at the bottom. I have 3 tabs,
I have a UITabbarController set by the Interfacebuilder. The tabbarcontroller has 5 tabs, the
If I have 4 tabs where the first 2 are loaded with ajax and
I would like for one tab in a UITabBarController to have a fixed position
I have UITabBarController with 2 tabs . One resizes just fine, when StatusBar size
I have a UITabBarController with a set of tabs. Some of them, when selected,
I have a Tab Layout with four tabs. Navigation betweeen them works fine, but

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.