Move UINavigationBar down?
Move UINavigationBar down?
- Subject: Move UINavigationBar down?
- From: Stephen Zyszkiewicz <email@hidden>
- Date: Mon, 25 Oct 2010 15:12:55 -0700
I'm trying to position the navigation bar below the top of the screen.
I've tried the following in viewWillAppear:
self.navigationController.view.frame = CGRectMake(0.0, 54.0, 320.0, 426.0);
self.navigationController.navigationBar.frame = CGRectMake(0.0, 0.0, 320.0, 44.0);
The problem is it only seems to work the very first time the view is displayed. If you go to another tab, and back, the navigation bar is at the top of the screen. This also happens when the iPhone is rotated.
Should I be trying to adjust the navigation controller frame, or should I instead try to add the navigation controller to another view that is below the top of the screen?
Thanks,
Steve_______________________________________________
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