Modify UIToolBarItem image
Posted on 2011-09-30
Hello EE Mac,
I have a UIToolBarItem at the buttom and if the user presses it, it update a value in my DataBase.
What I would like is a new image appears on that same Item so the user knows it has been pressed if he goes back to see the current page.
Actually, it a kind of "Like" like in Facebook. so when he presses, I would lile to see an image of a Thumbs up. if he presses again, It would be an image of "Like me!" you know ?
How can I change this without creating a new Item or maybe I could have 2 UITOolbarItem at the same X Y and one is visible the other is not?