How to disable userinteraction with UIBarButtonItem?
18:05 29 Jun 2015

When the user presses the bar button, it changes its color to grey. But the color of the bar button shouldn't change when the state is pressed. I have the same problem like this question which never got solved and every answer is not working. There is no setUserInteractionEnabled property. But disabling the whole bar button brings an alpha effect on the bar button which I don't want.

Any advice?

ios xcode swift uibarbuttonitem