• 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
[iPhone] Get rid of the default navigation back button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iPhone] Get rid of the default navigation back button


  • Subject: [iPhone] Get rid of the default navigation back button
  • From: Yung-Luen Lan <email@hidden>
  • Date: Mon, 3 Aug 2009 17:55:19 +0800

Hi,

I have a navigation bar with custom background. However, the default
glossy-style UIBarButtonItem looked weird with my background.
How do I replace the navigation button with my own style?

I tried creating an UIBarButtonItem manually with custom view (UIButton)
then set it to the backButtonItem of the parent view controller, but still
got the default glossy-blue back button.
Then I set the leftBarButtonItem of the child view controller, my custom
back button shows, but without functionality. I need to specify the
target/action for every back button in my app, sweet.
There must be some easier ways that I haven't figured out…

So, how do you customize the default back button?

Regards,
yllan
_______________________________________________

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: Reading image from system clipboard
  • Next by Date: Re: [IB] - can't assign keyboard shortcut to a menu item
  • Previous by thread: Re: [IB] - can't assign keyboard shortcut to a menu item - closed
  • Next by thread: NSPathControl - popup panel doesn't work
  • Index(es):
    • Date
    • Thread