I have 3 buttons at the bottom of my view controller, btn1 btn2 btn3, I\'m using them instead of the tab bar as it is not possible to entirely customize a tab bar as per my requ
What you did is set an image for the "Highlighted" state, this is why when you push it you can see your image.
What you want to do is
1) set the image for the SELECTED state
2) create a property for your view controller (just controll drag the button to the header) using the assistant view (while on storyboard, second square on the top right)
3) on your method for the button's action type:
button.selected = !button.selected;
(obviously replace button to whatever you named your property to)