Reputation: 1806
I have a tool bar with buttons whose image is set to a particular image.When the user clicks a button in the main view, i want to change the image of one of the toolbar buttons to another image.I tried many methods.Everything ran without errors, but none showed any change in toolbar.Any suggestions?
Upvotes: 0
Views: 1372
Reputation: 1608
There is a tutorial for this: How-to-change-a-uibarbuttonitem-in-the-iphone-toolbar
This is a great tutorial because it goes over changing the images based on state as well.
Upvotes: 1