Re: Move UINavigationBar down?
Re: Move UINavigationBar down?
- Subject: Re: Move UINavigationBar down?
- From: Stephen Zyszkiewicz <email@hidden>
- Date: Tue, 2 Nov 2010 14:15:27 -0700
What about using Interface Builder to do this? It seems I can drag in the navigation bar to any place in a view. I'm not sure if I can hook the navigation controller to this though.
If I use the UINavigationController in IB, it puts it at the top of the view only.
From the UINavigationController Class Reference:
@property(nonatomic, readonly) UINavigationBar *navigationBar
Discussion
It is permissible to modify the barStyle or translucent properties of the navigation bar but you must never change its frame, bounds, or alpha values directly. To show or hide the navigation bar, you should always do so through the navigation controller by changing its navigationBarHidden property or calling the setNavigationBarHidden:animated: method.
On Oct 25, 2010, at 3:37 PM, Uli Kusterer wrote:
> On 26.10.2010, at 00:12, Stephen Zyszkiewicz wrote:
>> 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?
>
> Either sounds good. It's probably faster if you just try both than wait for us to make a suggestion.
>
> -- Uli Kusterer
> "The Witnesses of TeachText are everywhere..."
> http://www.masters-of-the-void.com
>
>
>
_______________________________________________
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