0
votes

I want to change the tint of the buttons in the toolbar.

I've seen this question but I don't know how to access the toolbar object...

2
r u using navigation controller??? use self.navigationBar in this case...Obaid Maroof
I am, but I don't know how to access the navigation controller in code...Todd Davies
you dont need to get the access to your navigation controller object... u can access the navigationbar directly... look at my answer below.Obaid Maroof
Place an image and show the IBOutlet instance in your .h file. To refer which object it is, UIToolbar or UINavigationControllr, UINavigationBar. As this are diff diff widgets so...Mrunal
To access it check out the navigationItem and navigationController properties of your UIViewController - developer.apple.com/library/ios/documentation/uikit/reference/…ChrisH

2 Answers

3
votes
self.navigationController.navigationBar.tintColor = [UIColor colorWithRed:0.83 green:0.43 blue:0.57 alpha:0.5];

considering you are writing this line of code in your viewcontroller...

0
votes