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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T03:08:12+00:00 2026-06-18T03:08:12+00:00

I am able to download a file and see the progress on the ViewController

  • 0

I am able to download a file and see the progress on the ViewController when I push it through a NavigationController. However I want to show the downloads on another tabBar since my model is based on that.

The Problem: When I select to see the TabBar in question I get nothing.

I have tried: self.tabBarController.selectedIndex = 3; But that obviously only shows the ViewController and does not push the info onto it.

Any know how I need to change the bottom code to get the result I want?

ASIHTTPRequest *request = [[ASIHTTPRequest alloc] initWithURL:url];
NSMutableDictionary *dictionary = [NSMutableDictionary dictionary];
[request setUserInfo:dictionary];
[downloadTableViewObj setDownloadDirectory:path];
[downloadTableViewObj addDownloadRequest:request];

[self.navigationController pushViewController:downloadTableViewObj animated:YES];
  • 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-18T03:08:14+00:00Added an answer on June 18, 2026 at 3:08 am

    I’m not sure of your Architecture but UITabBarController have method like :

    viewControllers
    An array of the root view controllers displayed by the tab bar interface.
    @property(nonatomic, copy) NSArray *viewControllers

    You can access the right view controller at the index you want to send it message, before or after having the tabBar change it’s selection.

    Also note that UITabBarController can have a delegate that implement UITabBarControllerDelegate protocol. That can be useful in some circumstances, but I don’t think yours is a good candidate for it.


    NSArray *ar = self.tabBarController.viewControllers;  
    UINavigationController *nav = (UINavigationController *)ar[3];   
    self.tabBarController.selectedIndex = 3;
    [nav pushViewController:downloadTableViewObj animated:YES];  
    

    I haven’t try that particular code but something with that kind of logic should work.

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

Sidebar

Related Questions

I'd like to be able to invoke a file download from rails using link
I am trying to download a PDF file with HttpClient. I am able to
I want to be able to download a URL in C++. Something as simple
in our AIR application, I want to user to be able to download a
I want to download a huge file from an ftp server in chunks of
I need to make the user able to download a file from my webpage
I'm trying to download http://www.downway1.com/dota/eng/DotA%20Allstars%20v6.67.w3x this file. But it's not able to download. It's
Not able to download artifacts from central maven repository. <mirrors> <!-- mirror | Specifies
I remember years ago being able to download and install the forums software used
I would like to be able to download a Html5 canvas element as an

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.