• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[iPhone] Add a UIProgressView as subview to a navigationController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iPhone] Add a UIProgressView as subview to a navigationController


  • Subject: [iPhone] Add a UIProgressView as subview to a navigationController
  • From: Philip Vallone <email@hidden>
  • Date: Sat, 05 Dec 2009 16:09:05 -0500

Hi list,

Is it possible to add a UIProgressView as subview to a navigationController? I am trying the below example, but it does not show up. I suspect my UIProgressView is out of view...

        UIProgressView *progbar = [[UIProgressView alloc] initWithFrame:
							   CGRectMake(50.0f, 70.0f, 220.0f, 90.0f)];

        [progbar setProgressViewStyle:UIBarButtonItemStylePlain  ];
	[progbar setCenter:CGPointMake(160, 20 )];
	[progbar setProgress:0.10];

	[self.navigationController.navigationBar.topItem setTitleView:progbar];

Thanks for the help.

Phil_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Programatically Setting Delegate
  • Next by Date: Re: NSOutlineView expand-by-default with NSTreeController
  • Previous by thread: Re: NSOutlineView expand-by-default with NSTreeController
  • Next by thread: /System/.../pbs -dump_pboard gives no output
  • Index(es):
    • Date
    • Thread