[iPhone] Get rid of the default navigation back button
[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