• 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
Re: Move UINavigationBar down?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Best way to get outlet from one NIB to another NIB
  • Next by Date: Re: Selection in NSCollectionView
  • Previous by thread: Re: Best way to get outlet from one NIB to another NIB
  • Next by thread: Re: Move UINavigationBar down?
  • Index(es):
    • Date
    • Thread