I’m not sure if noting self.navigationController.navigationBar.tintColor, changing it to a new color in -viewWillAppear:, and simply zapping it back on -viewWillDisappear: would work fine.
The title property of the pushed view controller is automatically used by the navigation controller. No need to use a custom label for that if you’re not doing custom title styling. :) -ev On Sep 7, 2011, at 2:18 AM, Flavio ceolin wrote: > Hello guys, > > I have an UINavigationController with a couple of UIViewControllers, each > view > controller should change the the color of the navigationbar and of the > title. My question is, > should i add a subview for the title and set the tintcolor for the > navigationbar every time the > view appears or there is a better way to do it ? > > BR, > Ceolin > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/ev%40monoceroi.com > > This email sent to e...@monoceroi.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com