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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:29:58+00:00 2026-05-15T11:29:58+00:00

how to show the progressbar in navigation bar as in iphone messages application. For

  • 0

how to show the progressbar in navigation bar as in iphone messages application.
For that, you can refer the below link for showing progressbar

http://www.apple.com/iphone/features/messages.html

I try to do that by using toolbar but result are not as like in messages application.

-(void) createToolbar

{

toolbar = [[UIToolbar alloc] initWithFrame:CGRectMake(95.0,15,130,47.0)];

UIBarButtonItem *flexibleItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemFlexibleSpace target:nil action:nil];
ProgressView = [[UIProgressView alloc] initWithProgressViewStyle:0];
[ProgressView setProgress:0.0];
[ProgressView setFrame:CGRectMake(0,30,80,10)];

UIBarButtonItem *homeItem = [[UIBarButtonItem alloc] initWithCustomView:ProgressView];


NSArray *items = [NSArray arrayWithObjects:flexibleItem, homeItem, flexibleItem,nil];
[toolbar setItems:items animated:YES];
[self.view addSubview:toolbar];

}

The above code shows the toolbar on top of screen with progress bar in center but that time it require to hide navigation bar otherwise toolbar is shown below the navigation bar.
I needs to show the progress bar in navigation bar.

  • 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-15T11:29:59+00:00Added an answer on May 15, 2026 at 11:29 am

    Create a custom view that contains the progress bar and the label, and then set the titleView property on your view controller’s navigation item.

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

Sidebar

Related Questions

I am using the Dojo ProgressBar to show a long running process in Struts2
The spinning ProgressBar doesn't show up on a white background because the spinner is
The spinning ProgressBar doesn't show up on a white background because the spinner is
I want to show a progress bar in my java program but I dont
After the form submits, the progressbar appears, and the getProgress function is called. getProgress
I want to display a progressbar, and during this time it's get items and
How might one handle making a progressbar update to 100% based on having one
I am trying to use a ProgressBar as a metering like display. I thought
I'm looking for a jQuery plugin which works like the Ext.MessageBox.show(config) with the wait
I have a problem with my BackgroundWorker placed in a UserControl . My WPF

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.