[iPhone] Add a UIProgressView as subview to a navigationController
[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