• 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: Matt Neuburg <email@hidden>
  • Date: Sun, 7 Nov 2010 08:16:40 -0800

On Tue, 2 Nov 2010 14:15:27 -0700, Stephen Zyszkiewicz <email@hidden> said:
>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.

Distinguish between a UINavigationBar and a UINavigationController. If you use a navigation controller, the navigation bar belongs to it and goes where it puts it (and you mustn't send commands to the navigation bar directly or subvert its delegation). But if you *don't* use a navigation controller, you can put a navigation bar in an interface anywhere you want and use it however you like. m.

--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings_______________________________________________

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: Best way to get outlet from one NIB to another NIB
  • Next by Date: Re: CAShapeLayer curved path animation
  • Previous by thread: Re: Move UINavigationBar down?
  • Next by thread: Re: Selection in NSCollectionView
  • Index(es):
    • Date
    • Thread